org.geotools.metadata.iso.citation
Class TelephoneImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by 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

Field Summary
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
TelephoneImpl()
          Constructs a default telephone.
TelephoneImpl(Telephone source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 Collection<String> getFacsimiles()
          Returns the telephone numbers of a facsimile machine for the responsible organization or individual.
 Collection<String> getVoices()
          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
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

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
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


Copyright © 1996-2014 Geotools. All Rights Reserved.