Methods on Model's object - Java

Posted In General
  • alexandre-guerreiro 2 years ago
    <p>Good evening everyone!</p>
    
    <p>I have in the Model of my application the following classes:</p>
    
    <p>Product;
    Provider;
    Client;
    User;
    Season;</p>
    
    <p>Within them are the attributes, constructors, and getsetters. Like the Station class below:</p>
    
    <p>        package model;</p>
    
    <p>        public class Station {</p>
    
    <p>        private String id, ip, status, infoAdditional;</p>
    
    <p>        private Station (String id, String ip, String status, String infoAdditional) {
            super();
            this.id = id;
    this.ip = ip;
    this.status = status;
    this.infoAdditional = infoAdditional;
    }</p>
    
    <p>public String getId () {
    return id;
    }</p>
    
    <p>public void setId (String id) {
    this.id = id;
    }</p>
    
    <p>public String getIp () {
    return ip;
    }</p>
    
    <p>public void setIp (String ip) {
    this.ip = ip;
    }</p>
    
    <p>public String getStatus () {
    return status;
    }</p>
    
    <p>public void setStatus (String status) {
    this.status = status;
    }</p>
    
    <p>public String getInfoAdditional () {
    return infoAdditional;
    }</p>
    
    <p>public void setInfoAdditional (String infoAdditional) {
    this.infoAdditional = infoAdditional;
    }
    }</p>
    
    <p>My question is: _The methods of Insertion, Removal, Listing and Ordering, for example, of each object within the model, must be within the class itself? or can I create generic classes like "Insert", "Remove" and "Sort" inside the package model to work the objects ?.</p>
    
    <p>Thanks in advance!</p>
  • gracie-mills 7 months ago
    It is good technical information for java learners. They can learn several methods related to model’s object. It is important for the beginners to understand the basics of any programming languages. In this way they can do good programming. This form is very helpful to understand technical concepts. I am also working as a technical writer. This post is also helped me a lot. I have written some articles and blogs on technical theory. I want to thank [Assignmenthelpuk.com](https://www.assignmenthelpuk.com/custom-writing-services/ ) for helping me in every project. 

    It is good technical information for java learners. They can learn several methods related to model’s object. It is important for the beginners to understand the basics of any programming languages. In this way they can do good programming. This form is very helpful to understand technical concepts. I am also working as a technical writer. This post is also helped me a lot. I have written some articles and blogs on technical theory. I want to thank Assignmenthelpuk.com for helping me in every project.

  • yoan-jericko-1 1 day ago
    > It is good technical information for java learners. They can learn several methods related to model’s object. It is important for the beginners to understand the basics of any programming languages. In this way they can do good programming. This form is very helpful to understand technical concepts. I am also working as a technical writer. This post is also helped me a lot. I have written some articles and blogs on technical theory. I want to thank Assignmenthelpuk.com for helping me in every project.
    
    
    in general in a specific computer programming language, technology, notation or methodology that uses them. Examples are the object models of Java, the Component Object Model (COM), or Object-Modeling Technique (OMT). ... In other words, the object-oriented interface to some service or system.

    It is good technical information for java learners. They can learn several methods related to model’s object. It is important for the beginners to understand the basics of any programming languages. In this way they can do good programming. This form is very helpful to understand technical concepts. I am also working as a technical writer. This post is also helped me a lot. I have written some articles and blogs on technical theory. I want to thank Assignmenthelpuk.com for helping me in every project.

    in general in a specific computer programming language, technology, notation or methodology that uses them. Examples are the object models of Java, the Component Object Model (COM), or Object-Modeling Technique (OMT). ... In other words, the object-oriented interface to some service or system.

Please login or signup to leave a response.

Login

or Sign Up

Sign Up

or Login
×
Want to create your own SAAS?

I can teach you to create your own Software as a Service. Click here to learn more!

Visit SAAS Adventure!