Class ProcessRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.ProcessRequestBody
ProcessRequestBody describes the request body used to create/update process properties.
-
Constructor Summary
ConstructorDescriptionDefault constructorProcessRequestBody
(ProcessRequestBody template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the properties for the element.Return the process status.int
hashCode()
Return hash code for this objectvoid
setElementProperties
(ProcessProperties elementProperties) Set up the properties for the element.void
setProcessStatus
(ProcessStatus processStatus) Set up the process status.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
getEffectiveTime, getMetadataCorrelationProperties, setEffectiveTime, setMetadataCorrelationProperties
-
Constructor Details
-
ProcessRequestBody
public ProcessRequestBody()Default constructor -
ProcessRequestBody
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getProcessStatus
Return the process status.- Returns:
- enum describing lifecycle state
-
setProcessStatus
Set up the process status.- Parameters:
processStatus
- enum describing lifecycle state
-
getElementProperties
Return the properties for the element.- Returns:
- properties object
-
setElementProperties
Set up the properties for the element.- Parameters:
elementProperties
- properties object
-
toString
JSON-style toString- Overrides:
toString
in classUpdateRequestBody
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classUpdateRequestBody
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classUpdateRequestBody
- Returns:
- int hash code
-