Class TelephoneImpl

  • All Implemented Interfaces:
    Serializable, Cloneable, Telephone

    public class TelephoneImpl
    extends MetadataEntity
    implements Telephone
    Telephone numbers for contacting the responsible individual or organization.
    Since:
    2.1
    Author:
    Jody Garnett, Martin Desruisseaux
    See Also:
    Serialized Form
    • Constructor Detail

      • TelephoneImpl

        public TelephoneImpl()
        Constructs a default telephone.
      • TelephoneImpl

        public TelephoneImpl​(Telephone source)
        Constructs a metadata entity initialized with the values from the specified metadata.
        Since:
        2.4
      • TelephoneImpl

        public TelephoneImpl​(TelephoneType phone)
    • Method Detail

      • getVoices

        public Collection<String> getVoices()
        Returns the telephone numbers by which individuals can speak to the responsible organization or individual.
        Specified by:
        getVoices in interface Telephone
        Returns:
        Telephone numbers by which individuals can speak to the responsible organization or individual.
        Since:
        2.4
      • setVoices

        public void setVoices​(Collection<? extends String> newValues)
        Set the telephone numbers by which individuals can speak to the responsible organization or individual.
        Since:
        2.4
      • getFacsimiles

        public Collection<String> getFacsimiles()
        Returns the telephone numbers of a facsimile machine for the responsible organization or individual.
        Specified by:
        getFacsimiles in interface Telephone
        Returns:
        Telephone numbers of a facsimile machine for the responsible organization or individual.
        Since:
        2.4
      • setFacsimiles

        public void setFacsimiles​(Collection<? extends String> newValues)
        Set the telephone number of a facsimile machine for the responsible organization or individual.
        Since:
        2.4