Class SystemModel

java.lang.Object
com.jk.services.client.workflow.models.SystemModel

public class SystemModel extends Object
This class represents a system model.
Version:
1.0
Author:
Dr. Jalal H. Kiswani
  • Constructor Details

    • SystemModel

      public SystemModel()
  • Method Details

    • withId

      public SystemModel withId(Integer id)
      This method sets the model identifier (ID) and return this instance.
      Parameters:
      id - Specifies the model identifier (ID).
      Returns:
      the edited instance of SystemModel.
    • setId

      public void setId(Integer id)
      This method sets the model identifier (ID) to the provided value.
      Parameters:
      id - Specifies the new model identifier (ID).
    • getId

      public Integer getId()
      This method retrieves the model identifier (ID).
      Returns:
      the model identifier (ID).
    • withName

      public SystemModel withName(String name)
      This method sets the model name and return this instance.
      Parameters:
      name - Specifies the model name.
      Returns:
      the edited instance of SystemModel.
    • setName

      public void setName(String name)
      This method sets the model name to the provided value..
      Parameters:
      name - Specifies the new model name.
    • getName

      public String getName()
      This method retrieves the model name.
      Returns:
      the model name.
    • withCode

      public SystemModel withCode(String code)
      This method sets the model code and return this instance.
      Parameters:
      code - Specifies the model code.
      Returns:
      the edited instance of SystemModel.
    • setCode

      public void setCode(String code)
      This method sets the model code to the provided value.
      Parameters:
      code - Specifies the new model code.
    • getCode

      public String getCode()
      This method retrieves the model code.
      Returns:
      the model code.
    • withDescription

      public SystemModel withDescription(String description)
      This method sets the model description and return this instance.
      Parameters:
      description - Specifies the model description.
      Returns:
      the edited instance of SystemModel.
    • setDescription

      public void setDescription(String description)
      This method sets the model description to the provided value.
      Parameters:
      description - Specifies the new model description.
    • getDescription

      public String getDescription()
      This method retrieves the model description.
      Returns:
      the model description.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object