Class Appointee
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.Appointee
- All Implemented Interfaces:
MetadataElement
Appointee describes an individual's appointment to a specific role. It includes their personal details along with the
start and end date of their appointment. The elementHeader is from the PersonRoleAppointment relationship.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return the element header associated with the properties.Return the end date of the appointment.booleanReturn if the contents of this profile be shared with colleagues.Return the profile information for the individual.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.voidsetIsPublic(boolean isPublic) Set up if the contents of this profile be shared with colleagues.voidsetProfile(ActorProfileElement profile) Set up the profile information for the individual.voidsetStartDate(Date startDate) Set the start date of the appointment.toString()JSON-style toString.
-
Constructor Details
-
Appointee
public Appointee()Default constructor -
Appointee
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getElementHeader
Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the properties.- Specified by:
setElementHeaderin interfaceMetadataElement- Parameters:
elementHeader- element header object
-
getIsPublic
public boolean getIsPublic()Return if the contents of this profile be shared with colleagues.- Returns:
- flag
-
setIsPublic
public void setIsPublic(boolean isPublic) Set up if the contents of this profile be shared with colleagues.- Parameters:
isPublic- flag
-
getProfile
Return the profile information for the individual.- Returns:
- personal profile object
-
setProfile
Set up the profile information for the individual.- Parameters:
profile- personal profile object
-
getStartDate
Return the start date of the appointment.- Returns:
- date
-
setStartDate
Set the start date of the appointment.- Parameters:
startDate- date
-
getEndDate
Return the end date of the appointment.- Returns:
- end date - null means open-ended appointment
-
setEndDate
Set up the start date of the appointment.- Parameters:
endDate- date - null means open-ended appointment
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Hash code for this object
-