Class SystemModel
java.lang.Object
com.jk.services.client.workflow.models.SystemModel
This class represents a system model.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
-
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.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..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.
-
Constructor Details
-
SystemModel
public SystemModel()
-
-
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
SystemModel
.
-
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
SystemModel
.
-
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
SystemModel
.
-
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
SystemModel
.
-
setDescription
This method sets the model description to the provided value.- Parameters:
description
- Specifies the new model description.
-
getDescription
This method retrieves the model description.- Returns:
- the model description.
-
equals
-
hashCode
public int hashCode() -
toString
-