Class ContactImpl

All Implemented Interfaces:
Serializable, Cloneable, Contact

public class ContactImpl extends MetadataEntity implements Contact
Information required to enable contact with the responsible person and/or organization.
Since:
2.1
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
  • Field Details

  • Constructor Details

    • ContactImpl

      public ContactImpl()
      Constructs an initially empty contact.
    • ContactImpl

      public ContactImpl(Contact source)
      Constructs a metadata entity initialized with the values from the specified metadata.
      Since:
      2.4
    • ContactImpl

      public ContactImpl(OnLineResource resource)
      Constructs a contact initialized to the specified online resource.
    • ContactImpl

      public ContactImpl(ContactType contactInfo)
  • Method Details

    • getAddress

      public Address getAddress()
      Returns the physical and email address at which the organization or individual may be contacted. Returns null if none.
      Specified by:
      getAddress in interface Contact
      Returns:
      Physical and email address at which the organization or individual may be contacted, or null.
    • setAddress

      public void setAddress(Address newValue)
      Set the physical and email address at which the organization or individual may be contacted.
    • getContactInstructions

      public InternationalString getContactInstructions()
      Returns supplemental instructions on how or when to contact the individual or organization. Returns null if none.
      Specified by:
      getContactInstructions in interface Contact
      Returns:
      Supplemental instructions on how or when to contact the individual or organization, or null.
    • setContactInstructions

      public void setContactInstructions(InternationalString newValue)
      Set supplemental instructions on how or when to contact the individual or organization.
    • getOnLineResource

      public OnLineResource getOnLineResource()
      Return on-line information that can be used to contact the individual or organization. Returns null if none.
      Specified by:
      getOnLineResource in interface Contact
      Returns:
      On-line information that can be used to contact the individual or organization, or null.
    • setOnLineResource

      public void setOnLineResource(OnLineResource newValue)
      Set on-line information that can be used to contact the individual or organization.
    • getPhone

      public Telephone getPhone()
      Returns telephone numbers at which the organization or individual may be contacted. Returns null if none.
      Specified by:
      getPhone in interface Contact
      Returns:
      Telephone numbers at which the organization or individual may be contacted, or null.
    • setPhone

      public void setPhone(Telephone newValue)
      Set telephone numbers at which the organization or individual may be contacted.
    • getHoursOfService

      public InternationalString getHoursOfService()
      Returns time period (including time zone) when individuals can contact the organization or individual. Returns null if none.
      Specified by:
      getHoursOfService in interface Contact
      Returns:
      Time period when individuals can contact the organization or individual, or null.
    • setHoursOfService

      public void setHoursOfService(InternationalString newValue)
      Set time period (including time zone) when individuals can contact the organization or individual.