Class PersonRoleAppointee

  • All Implemented Interfaces:
    java.io.Serializable, MetadataElement

    public class PersonRoleAppointee
    extends java.lang.Object
    implements java.io.Serializable, MetadataElement
    PersonRoleAppointee describes an individual's appointment 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 Detail

      • PersonRoleAppointee

        public PersonRoleAppointee()
        Default constructor
      • PersonRoleAppointee

        public PersonRoleAppointee​(PersonRoleAppointee template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • setElementHeader

        public void setElementHeader​(ElementHeader elementHeader)
        Set up the element header associated with the properties.
        Specified by:
        setElementHeader in interface MetadataElement
        Parameters:
        elementHeader - element header object
      • getProperties

        public AppointmentProperties getProperties()
        Return the properties of the appointment relationship.
        Returns:
        properties
      • setProperties

        public void setProperties​(AppointmentProperties properties)
        Set up the properties of the appointment relationship.
        Parameters:
        properties - properties
      • getProfile

        public ActorProfileElement getProfile()
        Return the profile information for the individual.
        Returns:
        personal profile object
      • setProfile

        public void setProfile​(ActorProfileElement profile)
        Set up the profile information for the individual.
        Parameters:
        profile - personal profile object
      • toString

        public java.lang.String toString()
        JSON-style toString.
        Overrides:
        toString in class java.lang.Object
        Returns:
        list of properties and their values.
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Equals method that returns true if containing properties are the same.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        objectToCompare - object to compare
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Hash code for this object
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int