Class PersonRoleProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.PersonRoleProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GovernanceRoleProperties
public abstract class PersonRoleProperties extends Object implements Serializable
PersonRoleProperties provides a structure for describe a role assigned to a person.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersonRoleProperties()Default constructorPersonRoleProperties(PersonRoleProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.Map<String,String>getAdditionalProperties()Return a copy of the additional properties.StringgetDescription()Return the description of the job role for this governance appointment.Map<String,Object>getExtendedProperties()Return the properties that are defined for a subtype of referenceable but are not explicitly supported by the bean.intgetHeadCount()Return the number of people that can be appointed to this role.booleangetHeadCountLimitSet()Return the indicator whether the head count limit is set for a person role.StringgetRoleId()Return the unique identifier for this job role/appointment.StringgetScope()Return the context in which the governance officer is appointed.StringgetTitle()Return the job role title.StringgetTypeName()Return the open metadata type name of this object - this is used to create a subtype of the referenceable.inthashCode()Return hash code for this objectvoidsetAdditionalProperties(Map<String,String> additionalProperties)Set up additional properties.voidsetDescription(String description)Set up the description of the job role for this governance officer.voidsetExtendedProperties(Map<String,Object> extendedProperties)Set up the properties that are defined for a subtype of referenceable but are not explicitly supported by the bean.voidsetHeadCount(int headCount)Set up the number of people that can be appointed to this role.voidsetHeadCountLimitSet(boolean headCountLimitSet)Set up the indicator whether the head count limit is set for a person role.voidsetRoleId(String roleId)Set up the unique identifier for this job role/appointment.voidsetScope(String scope)Set up the context in which the governance officer is appointed.voidsetTitle(String title)Set up the job role title.voidsetTypeName(String typeName)Set up the open metadata type name of this object - this is used to create a subtype of the referenceable.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
PersonRoleProperties
public PersonRoleProperties()
Default constructor
-
PersonRoleProperties
public PersonRoleProperties(PersonRoleProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getRoleId
public String getRoleId()
Return the unique identifier for this job role/appointment.- Returns:
- unique name
-
setRoleId
public void setRoleId(String roleId)
Set up the unique identifier for this job role/appointment.- Parameters:
roleId- unique name
-
getScope
public String getScope()
Return the context in which the governance officer is appointed. This may be an organizational scope, location, or scope of assets.- Returns:
- string description
-
setScope
public void setScope(String scope)
Set up the context in which the governance officer is appointed. This may be an organizational scope, location, or scope of assets.- Parameters:
scope- string description
-
getTitle
public String getTitle()
Return the job role title.- Returns:
- string name
-
setTitle
public void setTitle(String title)
Set up the job role title.- Parameters:
title- string name
-
getDescription
public String getDescription()
Return the description of the job role for this governance appointment. This may relate to the specific governance responsibilities, or may be their main role if the governance responsibilities are just an adjunct to their main role.- Returns:
- string description
-
setDescription
public void setDescription(String description)
Set up the description of the job role for this governance officer. This may relate to the specific governance responsibilities, or may be their main role if the governance responsibilities are just an adjunct to their main role.- Parameters:
description- string description
-
getHeadCountLimitSet
public boolean getHeadCountLimitSet()
Return the indicator whether the head count limit is set for a person role.- Returns:
- boolean flag
-
setHeadCountLimitSet
public void setHeadCountLimitSet(boolean headCountLimitSet)
Set up the indicator whether the head count limit is set for a person role.- Parameters:
headCountLimitSet- boolean flag
-
getHeadCount
public int getHeadCount()
Return the number of people that can be appointed to this role.- Returns:
- int
-
setHeadCount
public void setHeadCount(int headCount)
Set up the number of people that can be appointed to this role.- Parameters:
headCount- int
-
getAdditionalProperties
public Map<String,String> getAdditionalProperties()
Return a copy of the additional properties. Null means no additional properties are available.- Returns:
- AdditionalProperties
-
setAdditionalProperties
public void setAdditionalProperties(Map<String,String> additionalProperties)
Set up additional properties.- Parameters:
additionalProperties- Additional properties object
-
getTypeName
public String getTypeName()
Return the open metadata type name of this object - this is used to create a subtype of the referenceable. Any properties associated with this subtype are passed as extended properties.- Returns:
- string type name
-
setTypeName
public void setTypeName(String typeName)
Set up the open metadata type name of this object - this is used to create a subtype of the referenceable. Any properties associated with this subtype are passed as extended properties.- Parameters:
typeName- string type name
-
getExtendedProperties
public Map<String,Object> getExtendedProperties()
Return the properties that are defined for a subtype of referenceable but are not explicitly supported by the bean.- Returns:
- map of properties
-
setExtendedProperties
public void setExtendedProperties(Map<String,Object> extendedProperties)
Set up the properties that are defined for a subtype of referenceable but are not explicitly supported by the bean.- Parameters:
extendedProperties- map of properties
-
toString
public String toString()
JSON-style toString.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-