Class NewPayloadRequestModel
java.lang.Object
com.jk.services.client.workflow.models.NewPayloadRequestModel
- All Implemented Interfaces:
Serializable
This class represents a pay-load request model used in workflow.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
This method retrieves the action associated with this pay-load request model.getBody()
This method retrieves the body content associated with this pay-load request model.This method retrieves the entity associated with this pay-load request model.getId()
This method retrieves the ID for this pay-load request model.This method retrieves the system associated with this pay-load request model.int
hashCode()
void
This method sets the action associated with this pay-load request model to the provided value.void
This method sets the body content associated with this pay-load request model to the provided value.void
This method sets the entity associated with this pay-load request model to the provided value.void
This method sets the ID for this pay-load request model to the provided value.void
This method sets the system associated with this pay-load request model to the provided value.toString()
withAction
(String action) This method sets the action associated with this pay-load request model and returns this instance.This method sets the body content associated with this pay-load request model and returns this instance.withEntity
(String entity) This method sets the entity associated with this pay-load request model and return this instance.This method sets the ID for this pay-load request model and returns this instance.withSystem
(String system) This method sets the system associated with this pay-load request model and returns this instance.
-
Constructor Details
-
NewPayloadRequestModel
public NewPayloadRequestModel()
-
-
Method Details
-
withId
This method sets the ID for this pay-load request model and returns this instance.- Parameters:
id
- Specifies the new ID for this pay-load request model.- Returns:
- the edited instance of
NewPayloadRequestModel
.
-
setId
This method sets the ID for this pay-load request model to the provided value.- Parameters:
id
- Specifies the new ID for this pay-load request model.
-
getId
This method retrieves the ID for this pay-load request model.- Returns:
- the ID for this pay-load request model.
-
withSystem
This method sets the system associated with this pay-load request model and returns this instance.- Parameters:
system
- Specifies the system associated with this pay-load request model.- Returns:
- the edited instance of
NewPayloadRequestModel
.
-
setSystem
This method sets the system associated with this pay-load request model to the provided value.- Parameters:
system
- Specifies the system associated with this pay-load request model.
-
getSystem
This method retrieves the system associated with this pay-load request model.- Returns:
- the system associated with this pay-load request model.
-
withEntity
This method sets the entity associated with this pay-load request model and return this instance.- Parameters:
entity
- Specifies the entity associated with this pay-load request model.- Returns:
- the edited instance of
NewPayloadRequestModel
.
-
setEntity
This method sets the entity associated with this pay-load request model to the provided value.- Parameters:
entity
- Specifies the entity associated with this pay-load request model.
-
getEntity
This method retrieves the entity associated with this pay-load request model.- Returns:
- the entity associated with this pay-load request model
-
withAction
This method sets the action associated with this pay-load request model and returns this instance.- Parameters:
action
- Specifies the action associated with this pay-load request model.- Returns:
- the edited instance of
NewPayloadRequestModel
.
-
setAction
This method sets the action associated with this pay-load request model to the provided value.- Parameters:
action
- Specifies the new action associated with this pay-load request model.
-
getAction
This method retrieves the action associated with this pay-load request model.- Returns:
- the action associated with this pay-load request model.
-
withBody
This method sets the body content associated with this pay-load request model and returns this instance.- Parameters:
body
- Specifies the body content associated with this pay-load request model.- Returns:
- the edited instance of
NewPayloadRequestModel
.
-
setBody
This method sets the body content associated with this pay-load request model to the provided value.- Parameters:
body
- Specifies the body content associated with this pay-load request model.
-
getBody
This method retrieves the body content associated with this pay-load request model.- Returns:
- the body content associated with this pay-load request model.
-
equals
-
hashCode
public int hashCode() -
toString
-