Class WorkflowEntityModel

java.lang.Object
com.jk.services.client.workflow.models.WorkflowEntityModel
All Implemented Interfaces:
Serializable

public class WorkflowEntityModel extends Object implements Serializable
This class represents a workflow entity model.
Version:
1.0
Author:
Dr. Jalal H. Kiswani
See Also:
  • Constructor Details

    • WorkflowEntityModel

      public WorkflowEntityModel()
  • Method Details

    • withId

      public WorkflowEntityModel 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 WorkflowEntityModel.
    • 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 WorkflowEntityModel withName(String name)
      This method sets the model name and return this instance.
      Parameters:
      name - Specifies the model name.
      Returns:
      the edited instance of WorkflowEntityModel.
    • 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 WorkflowEntityModel withCode(String code)
      This method sets the model code and return this instance.
      Parameters:
      code - Specifies the model code.
      Returns:
      the edited instance of WorkflowEntityModel.
    • 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 WorkflowEntityModel withDescription(String description)
      This method sets the model description and return this instance.
      Parameters:
      description - Specifies the model description.
      Returns:
      the edited instance of WorkflowEntityModel.
    • setDescription

      public void setDescription(String description)
      This method sets the model description to the provided value.
      Parameters:
      description - Specifies the 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
    • withWorkflowClass

      public WorkflowEntityModel withWorkflowClass(String workflowClass)
      This method sets the model workflow class and return this instance.
      Parameters:
      workflowClass - Specifies the model workflow class.
      Returns:
      the edited instance of WorkflowEntityModel.
    • getWorkflowClass

      public String getWorkflowClass()
      This method retrieves the model workflow class.
      Returns:
      the model workflow class.
    • setWorkflowClass

      public void setWorkflowClass(String workflowClass)
      This method sets the model workflow class to the provided value.
      Parameters:
      workflowClass - Specifies the new model workflow class.