Class GovernanceDelegation
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.ElementHeader
-
- org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.ElementStub
-
- org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceDelegation
-
- All Implemented Interfaces:
Serializable
public class GovernanceDelegation extends ElementStub
GovernanceDelegation is used to show a relationship between different GovernanceDefinitions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceDelegation()Default ConstructorGovernanceDelegation(ElementStub template)Copy/clone Constructor - the resulting object.GovernanceDelegation(GovernanceDelegation template)Copy/clone Constructor - the resulting object.
-
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.StringgetRationale()Return the description of why these two governance definitions are linked.inthashCode()Return has code based on properties.voidsetRationale(String rationale)Set up the description of why these two governance definitions are linked.StringtoString()JSON-style toString.-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.ElementStub
getUniqueName, setUniqueName
-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.ElementHeader
getClassifications, getGUID, getOrigin, getType, setClassifications, setGUID, setOrigin, setType
-
-
-
-
Constructor Detail
-
GovernanceDelegation
public GovernanceDelegation()
Default Constructor
-
GovernanceDelegation
public GovernanceDelegation(GovernanceDelegation template)
Copy/clone Constructor - the resulting object.- Parameters:
template- object being copied
-
GovernanceDelegation
public GovernanceDelegation(ElementStub template)
Copy/clone Constructor - the resulting object.- Parameters:
template- object being copied
-
-
Method Detail
-
getRationale
public String getRationale()
Return the description of why these two governance definitions are linked.- Returns:
- string description
-
setRationale
public void setRationale(String rationale)
Set up the description of why these two governance definitions are linked.- Parameters:
rationale- string description
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classElementStub- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classElementStub- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return has code based on properties.- Overrides:
hashCodein classElementStub- Returns:
- int
-
-