Class ProcessRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.rest.ProcessRequestBody
-
- All Implemented Interfaces:
Serializable
public class ProcessRequestBody extends Object implements Serializable
ProcessRequestBody describes the request body used to create/update process properties.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessRequestBody()Default constructorProcessRequestBody(ProcessRequestBody template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.ProcessPropertiesgetElementProperties()Return the properties for the element.MetadataCorrelationPropertiesgetMetadataCorrelationProperties()Return the properties used to correlate the external metadata element with the open metadata element.ProcessStatusgetProcessStatus()Return the process status.inthashCode()Return hash code for this objectvoidsetElementProperties(ProcessProperties elementProperties)Set up the properties for the element.voidsetMetadataCorrelationProperties(MetadataCorrelationProperties metadataCorrelationProperties)Set up the properties used to correlate the external metadata element with the open metadata element.voidsetProcessStatus(ProcessStatus processStatus)Set up the process status.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
ProcessRequestBody
public ProcessRequestBody()
Default constructor
-
ProcessRequestBody
public ProcessRequestBody(ProcessRequestBody template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getMetadataCorrelationProperties
public MetadataCorrelationProperties getMetadataCorrelationProperties()
Return the properties used to correlate the external metadata element with the open metadata element.- Returns:
- properties object
-
setMetadataCorrelationProperties
public void setMetadataCorrelationProperties(MetadataCorrelationProperties metadataCorrelationProperties)
Set up the properties used to correlate the external metadata element with the open metadata element.- Parameters:
metadataCorrelationProperties- properties object
-
getProcessStatus
public ProcessStatus getProcessStatus()
Return the process status.- Returns:
- enum describing lifecycle state
-
setProcessStatus
public void setProcessStatus(ProcessStatus processStatus)
Set up the process status.- Parameters:
processStatus- enum describing lifecycle state
-
getElementProperties
public ProcessProperties getElementProperties()
Return the properties for the element.- Returns:
- properties object
-
setElementProperties
public void setElementProperties(ProcessProperties elementProperties)
Set up the properties for the element.- Parameters:
elementProperties- properties object
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-