Class TelephoneImpl
Object
AbstractMetadata
ModifiableMetadata
MetadataEntity
TelephoneImpl
- All Implemented Interfaces:
Serializable
,Cloneable
,Telephone
Telephone numbers for contacting the responsible individual or organization.
- Since:
- 2.1
- Author:
- Jody Garnett, Martin Desruisseaux
- See Also:
-
Field Summary
Fields inherited from class AbstractMetadata
LOGGER
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a default telephone.TelephoneImpl
(TelephoneType phone) TelephoneImpl
(Telephone source) Constructs a metadata entity initialized with the values from the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionReturns the telephone numbers of a facsimile machine for the responsible organization or individual.Returns the telephone numbers by which individuals can speak to the responsible organization or individual.void
setFacsimiles
(Collection<? extends String> newValues) Set the telephone number of a facsimile machine for the responsible organization or individual.void
setVoices
(Collection<? extends String> newValues) Set the telephone numbers by which individuals can speak to the responsible organization or individual.Methods inherited from class MetadataEntity
ensureNonNull, getStandard
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
Methods inherited from class AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
-
Constructor Details
-
TelephoneImpl
public TelephoneImpl()Constructs a default telephone. -
TelephoneImpl
Constructs a metadata entity initialized with the values from the specified metadata.- Since:
- 2.4
-
TelephoneImpl
-
-
Method Details
-
getVoices
Returns the telephone numbers by which individuals can speak to the responsible organization or individual. -
setVoices
Set the telephone numbers by which individuals can speak to the responsible organization or individual.- Since:
- 2.4
-
getFacsimiles
Returns the telephone numbers of a facsimile machine for the responsible organization or individual.- Specified by:
getFacsimiles
in interfaceTelephone
- Returns:
- Telephone numbers of a facsimile machine for the responsible organization or individual.
- Since:
- 2.4
-
setFacsimiles
Set the telephone number of a facsimile machine for the responsible organization or individual.- Since:
- 2.4
-