Class GovernanceRoleProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.actors.PersonalRoleProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.actors.PersonRoleProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.governance.GovernanceRoleProperties
The GovernanceRoleProperties describes a role within the governance program. Initially, the role is defined and then
a person is assigned to the role.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorCopy/clone Constructor - the resulting object. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.intReturn the identifier of the governance domain that this zone is managed by.inthashCode()Return hash code based on properties.voidsetDomainIdentifier(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.frameworks.openmetadata.properties.actors.PersonRoleProperties
getHeadCount, getHeadCountLimitSet, setHeadCount, setHeadCountLimitSetMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.actors.PersonalRoleProperties
getAdditionalProperties, getDescription, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getRoleId, getScope, getTitle, getTypeName, setAdditionalProperties, setDescription, setEffectiveFrom, setEffectiveTo, setExtendedProperties, 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.- Overrides:
getDomainIdentifierin classPersonalRoleProperties- Returns:
- int identifier
-
setDomainIdentifier
public void setDomainIdentifier(int domainIdentifier) Set up the identifier of the governance domain that this zone is managed by.- Overrides:
setDomainIdentifierin classPersonalRoleProperties- Parameters:
domainIdentifier- int identifier
-
toString
JSON-style toString.- Overrides:
toStringin classPersonRoleProperties- Returns:
- list of properties and their values.
-
equals
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 hash code based on properties.- Overrides:
hashCodein classPersonRoleProperties- Returns:
- int
-