Class ProcessContainmentTypeRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.ProcessContainmentTypeRequestBody
ProcessContainmentTypeRequestBody is the request body structure used on OMAG REST API calls that passes a ProcessContainmentType enum.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the relationship between the parent and child process.int
hashCode()
Create a hash code for this element type.void
setProcessContainmentType
(ProcessContainmentType processContainmentType) Set up the relationship between the parent and child process.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
Constructor Details
-
ProcessContainmentTypeRequestBody
public ProcessContainmentTypeRequestBody()Default constructor -
ProcessContainmentTypeRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getProcessContainmentType
Return the relationship between the parent and child process.- Returns:
- process containment type enum
-
setProcessContainmentType
Set up the relationship between the parent and child process.- Parameters:
processContainmentType
- process containment type enum
-
toString
Standard toString method.- Overrides:
toString
in classExternalSourceRequestBody
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classExternalSourceRequestBody
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classExternalSourceRequestBody
- Returns:
- int hash code
-