Class AppointmentProperties

  • All Implemented Interfaces:
    Serializable

    public class AppointmentProperties
    extends Object
    implements Serializable
    ExternalSourceRequestBody carries the parameters for marking an asset or schema as external.
    See Also:
    Serialized Form
    • Constructor Detail

      • AppointmentProperties

        public AppointmentProperties()
        Default constructor
      • AppointmentProperties

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

      • getEffectiveFrom

        public Date getEffectiveFrom()
        Return the date/time that this element is effective from (null means effective from the epoch).
        Returns:
        date object
      • setEffectiveFrom

        public void setEffectiveFrom​(Date effectiveFrom)
        Set up the date/time that this element is effective from (null means effective from the epoch).
        Parameters:
        effectiveFrom - date object
      • getEffectiveTo

        public Date getEffectiveTo()
        Return the date/time that element is effective to (null means that it is effective indefinitely into the future).
        Returns:
        date object
      • setEffectiveTo

        public void setEffectiveTo​(Date effectiveTo)
        Set the date/time that element is effective to (null means that it is effective indefinitely into the future).
        Parameters:
        effectiveTo - date 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
      • toString

        public String toString()
        JSON-style toString
        Overrides:
        toString in class Object
        Returns:
        return string containing the property names and values
      • equals

        public boolean equals​(Object objectToCompare)
        Return comparison result based on the content of the properties.
        Overrides:
        equals in class Object
        Parameters:
        objectToCompare - test object
        Returns:
        result of comparison
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class Object
        Returns:
        int hash code