Class GovernanceRoleProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.PersonRoleProperties
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceRoleProperties
-
- All Implemented Interfaces:
Serializable
public class GovernanceRoleProperties extends PersonRoleProperties
The GovernanceRoleProperties describes a role within the governance program. Initially, the role is defined and then a person is assigned to the role.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceRoleProperties()Default ConstructorGovernanceRoleProperties(GovernanceRoleProperties 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.intgetDomainIdentifier()Return the identifier of the governance domain that this zone is managed by.inthashCode()Return has code based on properties.voidsetDomainIdentifier(int domainIdentifier)Set up the identifier of the governance domain that this zone is managed by.StringtoString()JSON-style toString.-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.properties.PersonRoleProperties
getAdditionalProperties, getDescription, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getHeadCount, getHeadCountLimitSet, getQualifiedName, getRoleId, getScope, getTitle, getTypeName, setAdditionalProperties, setDescription, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setHeadCount, setHeadCountLimitSet, setQualifiedName, setRoleId, setScope, setTitle, setTypeName
-
-
-
-
Constructor Detail
-
GovernanceRoleProperties
public GovernanceRoleProperties()
Default Constructor
-
GovernanceRoleProperties
public GovernanceRoleProperties(GovernanceRoleProperties template)
Copy/clone Constructor - the resulting object.- Parameters:
template- object being copied
-
-
Method Detail
-
getDomainIdentifier
public int getDomainIdentifier()
Return the identifier of the governance domain that this zone is managed by.- Returns:
- int identifier
-
setDomainIdentifier
public void setDomainIdentifier(int domainIdentifier)
Set up the identifier of the governance domain that this zone is managed by.- Parameters:
domainIdentifier- int identifier
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classPersonRoleProperties- 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 classPersonRoleProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return has code based on properties.- Overrides:
hashCodein classPersonRoleProperties- Returns:
- int
-
-