Class GovernanceRoleProperties
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.properties.PersonRoleProperties
org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceRoleProperties
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorCopy/clone Constructor - the resulting object. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.int
Return the identifier of the governance domain that this zone is managed by.int
hashCode()
Return hash code based on properties.void
setDomainIdentifier
(int domainIdentifier) Set up the identifier of the governance domain that this zone is managed by.toString()
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 Details
-
GovernanceRoleProperties
public GovernanceRoleProperties()Default Constructor -
GovernanceRoleProperties
Copy/clone Constructor - the resulting object.- Parameters:
template
- object being copied
-
-
Method Details
-
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
JSON-style toString.- Overrides:
toString
in classPersonRoleProperties
- Returns:
- list of properties and their values.
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classPersonRoleProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classPersonRoleProperties
- Returns:
- int
-