Class GovernanceAppointee
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceAppointee
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class GovernanceAppointee extends Object implements Serializable, MetadataElement
GovernanceAppointee describes an individual's appointment as a governance officer or to a specific governance role. It includes their personal details along with the start and end date of their appointment. The elementHeader is from the PersonRoleAppointment relationship.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceAppointee()Default constructorGovernanceAppointee(GovernanceAppointee 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.ElementHeadergetElementHeader()Return the element header associated with the properties.DategetEndDate()Return the end date of the appointment.ProfileElementgetProfile()Return the profile information for the individual.DategetStartDate()Return the start date of the appointment.inthashCode()Hash code for this objectvoidsetElementHeader(ElementHeader elementHeader)Set up the element header associated with the properties.voidsetEndDate(Date endDate)Set up the start date of the appointment.voidsetProfile(ProfileElement profile)Set up the profile information for the individual.voidsetStartDate(Date startDate)Set the start date of the appointment.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
GovernanceAppointee
public GovernanceAppointee()
Default constructor
-
GovernanceAppointee
public GovernanceAppointee(GovernanceAppointee template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getElementHeader
public ElementHeader getElementHeader()
Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(ElementHeader elementHeader)
Set up the element header associated with the properties.- Specified by:
setElementHeaderin interfaceMetadataElement- Parameters:
elementHeader- element header object
-
getProfile
public ProfileElement getProfile()
Return the profile information for the individual.- Returns:
- personal profile object
-
setProfile
public void setProfile(ProfileElement profile)
Set up the profile information for the individual.- Parameters:
profile- personal profile object
-
getStartDate
public Date getStartDate()
Return the start date of the appointment.- Returns:
- date
-
setStartDate
public void setStartDate(Date startDate)
Set the start date of the appointment.- Parameters:
startDate- date
-
getEndDate
public Date getEndDate()
Return the end date of the appointment.- Returns:
- end date - null means open-ended appointment
-
setEndDate
public void setEndDate(Date endDate)
Set up the start date of the appointment.- Parameters:
endDate- date - null means open-ended appointment
-
toString
public String toString()
JSON-style toString.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-