org.geotools.metadata.iso.citation
Class TelephoneImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.citation.TelephoneImpl
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, 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.iso.MetadataEntity
LOGGER
 
Constructor Summary
TelephoneImpl()
          Constructs a default telephone.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compares this telephone with the specified object for equality.
protected  void freeze()
          Declares this metadata and all its attributes as unmodifiable.
 java.lang.String getFacsimile()
          Returns the telephone number of a facsimile machine for the responsible organization or individual.
 java.lang.String getVoice()
          Returns the telephone number by which individuals can speak to the responsible organization or individual.
 int hashCode()
          Returns a hash code value for this telephone.
 void setFacsimile(java.lang.String newValue)
          Set the telephone number of a facsimile machine for the responsible organization or individual.
 void setVoice(java.lang.String newValue)
          Set the telephone number by which individuals can speak to the responsible organization or individual.
 java.lang.String toString()
          Returns a string representation of this telephone.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TelephoneImpl

public TelephoneImpl()
Constructs a default telephone.

Method Detail

getVoice

public java.lang.String getVoice()
Returns the telephone number by which individuals can speak to the responsible organization or individual.

Specified by:
getVoice in interface org.opengis.metadata.citation.Telephone

setVoice

public void setVoice(java.lang.String newValue)
Set the telephone number by which individuals can speak to the responsible organization or individual.


getFacsimile

public java.lang.String getFacsimile()
Returns the telephone number of a facsimile machine for the responsible organization or individual.

Specified by:
getFacsimile in interface org.opengis.metadata.citation.Telephone

setFacsimile

public void setFacsimile(java.lang.String newValue)
Set the telephone number of a facsimile machine for the responsible organization or individual.


freeze

protected void freeze()
Declares this metadata and all its attributes as unmodifiable.

Overrides:
freeze in class MetadataEntity

equals

public boolean equals(java.lang.Object object)
Compares this telephone with the specified object for equality.


hashCode

public int hashCode()
Returns a hash code value for this telephone.


toString

public java.lang.String toString()
Returns a string representation of this telephone.



Copyright © GeoTools. All Rights Reserved.