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
ConstructorsConstructorDescriptionDefault constructorProcessRequestBody(ProcessRequestBody template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.ProcessPropertiesReturn the properties for the element.org.odpi.openmetadata.frameworks.openmetadata.enums.ProcessStatusReturn the process status.inthashCode()Return hash code for this objectvoidsetElementProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.ProcessProperties elementProperties) Set up the properties for the element.voidsetProcessStatus(org.odpi.openmetadata.frameworks.openmetadata.enums.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
public org.odpi.openmetadata.frameworks.openmetadata.enums.ProcessStatus getProcessStatus()Return the process status.- Returns:
- enum describing lifecycle state
-
setProcessStatus
public void setProcessStatus(org.odpi.openmetadata.frameworks.openmetadata.enums.ProcessStatus processStatus) Set up the process status.- Parameters:
processStatus- enum describing lifecycle state
-
getElementProperties
public org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.ProcessProperties getElementProperties()Return the properties for the element.- Returns:
- properties object
-
setElementProperties
public void setElementProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.ProcessProperties elementProperties) Set up the properties for the element.- Parameters:
elementProperties- properties object
-
toString
JSON-style toString- Overrides:
toStringin classUpdateRequestBody- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classUpdateRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classUpdateRequestBody- Returns:
- int hash code
-