Class ProcessContainmentProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.RelationshipProperties
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.ProcessContainmentProperties
-
- All Implemented Interfaces:
Serializable
public class ProcessContainmentProperties extends RelationshipProperties
ProcessContainmentProperties when linking processes in a parent-child hierarchy.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessContainmentProperties()Default constructorProcessContainmentProperties(ProcessContainmentProperties template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.ProcessContainmentTypegetProcessContainmentType()Return the relationship between the parent and child process.inthashCode()Create a hash code for this element type.voidsetProcessContainmentType(ProcessContainmentType processContainmentType)Set up the relationship between the parent and child process.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
-
-
-
Constructor Detail
-
ProcessContainmentProperties
public ProcessContainmentProperties()
Default constructor
-
ProcessContainmentProperties
public ProcessContainmentProperties(ProcessContainmentProperties template)
Copy/clone constructor.- Parameters:
template- template to copy.
-
-
Method Detail
-
getProcessContainmentType
public ProcessContainmentType getProcessContainmentType()
Return the relationship between the parent and child process.- Returns:
- process containment type enum
-
setProcessContainmentType
public void setProcessContainmentType(ProcessContainmentType processContainmentType)
Set up the relationship between the parent and child process.- Parameters:
processContainmentType- process containment type enum
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classRelationshipProperties- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classRelationshipProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Create a hash code for this element type.- Overrides:
hashCodein classRelationshipProperties- Returns:
- int hash code
-
-