Class WorkflowEntityModel
java.lang.Object
com.jk.services.client.workflow.models.WorkflowEntityModel
- All Implemented Interfaces:
Serializable
This class represents a workflow entity model.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
This method retrieves the model code..This method retrieves the model description.getId()
This method retrieves the model identifier (ID).getName()
This method retrieves the model name..This method retrieves the model workflow class.int
hashCode()
void
This method sets the model code to the provided value.void
setDescription
(String description) This method sets the model description to the provided value.void
This method sets the model identifier (ID) to the provided value.void
This method sets the model name to the provided value.void
setWorkflowClass
(String workflowClass) This method sets the model workflow class to the provided value.toString()
This method sets the model code and return this instance.withDescription
(String description) This method sets the model description and return this instance.This method sets the model identifier (ID) and return this instance.This method sets the model name and return this instance.withWorkflowClass
(String workflowClass) This method sets the model workflow class and return this instance.
-
Constructor Details
-
WorkflowEntityModel
public WorkflowEntityModel()
-
-
Method Details
-
withId
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
This method sets the model identifier (ID) to the provided value.- Parameters:
id
- Specifies the new model identifier (ID).
-
getId
This method retrieves the model identifier (ID).- Returns:
- the model identifier (ID).
-
withName
This method sets the model name and return this instance.- Parameters:
name
- Specifies the model name.- Returns:
- the edited instance of
WorkflowEntityModel
.
-
setName
This method sets the model name to the provided value.- Parameters:
name
- Specifies the new model name.
-
getName
This method retrieves the model name..- Returns:
- the model name.
-
withCode
This method sets the model code and return this instance.- Parameters:
code
- Specifies the model code.- Returns:
- the edited instance of
WorkflowEntityModel
.
-
setCode
This method sets the model code to the provided value.- Parameters:
code
- Specifies the new model code.
-
getCode
This method retrieves the model code..- Returns:
- the model code.
-
withDescription
This method sets the model description and return this instance.- Parameters:
description
- Specifies the model description.- Returns:
- the edited instance of
WorkflowEntityModel
.
-
setDescription
This method sets the model description to the provided value.- Parameters:
description
- Specifies the model description.
-
getDescription
This method retrieves the model description.- Returns:
- the model description.
-
equals
-
hashCode
public int hashCode() -
toString
-
withWorkflowClass
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
This method retrieves the model workflow class.- Returns:
- the model workflow class.
-
setWorkflowClass
This method sets the model workflow class to the provided value.- Parameters:
workflowClass
- Specifies the new model workflow class.
-