org.geotools.metadata.iso.citation
Class TelephoneImpl

java.lang.Object
  extended by org.geotools.metadata.AbstractMetadata
      extended by org.geotools.metadata.ModifiableMetadata
          extended by org.geotools.metadata.iso.MetadataEntity
              extended by org.geotools.metadata.iso.citation.TelephoneImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.citation.Telephone

public class TelephoneImpl
extends MetadataEntity
implements org.opengis.metadata.citation.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 org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
TelephoneImpl()
          Constructs a default telephone.
TelephoneImpl(org.opengis.metadata.citation.Telephone source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 java.util.Collection<java.lang.String> getFacsimiles()
          Returns the telephone numbers of a facsimile machine for the responsible organization or individual.
 java.util.Collection<java.lang.String> getVoices()
          Returns the telephone numbers by which individuals can speak to the responsible organization or individual.
 void setFacsimiles(java.util.Collection<? extends java.lang.String> newValues)
          Set the telephone number of a facsimile machine for the responsible organization or individual.
 void setVoices(java.util.Collection<? extends java.lang.String> newValues)
          Set the telephone numbers by which individuals can speak to the responsible organization or individual.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class org.geotools.metadata.ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class org.geotools.metadata.AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TelephoneImpl

public TelephoneImpl()
Constructs a default telephone.


TelephoneImpl

public TelephoneImpl(org.opengis.metadata.citation.Telephone source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4
Method Detail

getVoices

public java.util.Collection<java.lang.String> getVoices()
Returns the telephone numbers by which individuals can speak to the responsible organization or individual.

Specified by:
getVoices in interface org.opengis.metadata.citation.Telephone
Since:
2.4

setVoices

public void setVoices(java.util.Collection<? extends java.lang.String> newValues)
Set the telephone numbers by which individuals can speak to the responsible organization or individual.

Since:
2.4

getFacsimiles

public java.util.Collection<java.lang.String> getFacsimiles()
Returns the telephone numbers of a facsimile machine for the responsible organization or individual.

Specified by:
getFacsimiles in interface org.opengis.metadata.citation.Telephone
Since:
2.4

setFacsimiles

public void setFacsimiles(java.util.Collection<? extends java.lang.String> newValues)
Set the telephone number of a facsimile machine for the responsible organization or individual.

Since:
2.4


Copyright © 1996-2010 Geotools. All Rights Reserved.