Class ContactMethodProperties

    • Constructor Detail

      • ContactMethodProperties

        public ContactMethodProperties()
        Default constructor
      • ContactMethodProperties

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

      • getType

        public ContactMethodType getType()
        Return the type of the contact method.
        Returns:
        contact method type enum
      • setType

        public void setType​(ContactMethodType type)
        Set up the type of the contact method.
        Parameters:
        type - contact method type enum
      • getService

        public String getService()
        Return the URL of the service used to contact the individual.
        Returns:
        service URL
      • setService

        public void setService​(String service)
        Set up theURL of the service used to contact the individual.
        Parameters:
        service - service URL
      • getValue

        public String getValue()
        Return the account name or similar value used to direct the message to the individual.
        Returns:
        value string
      • setValue

        public void setValue​(String value)
        Set up the account name or similar value used to direct the message to the individual.
        Parameters:
        value - value string
      • equals

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