deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.model.metadata.iso19115
Class Phone

java.lang.Object
  extended by org.deegree.model.metadata.iso19115.Phone

public class Phone
extends java.lang.Object

Represents a contact phone number.

Since:
2.0
Version:
2.0, $Revision: 18195 $
Author:
Andreas Poth , last edited by: $Author: mschneider $

Constructor Summary
Phone(java.lang.String[] facsimile, java.lang.String[] voice)
          Creates a new instance of Phone
Phone(java.lang.String[] facsimile, java.lang.String[] other, java.lang.String[] othertype, java.lang.String[] voice)
          Creates a new instance of Phone
 
Method Summary
 void addFacsimile(java.lang.String facsimile)
           
 void addOther(java.lang.String other)
           
 void addOtherType(java.lang.String othertype)
           
 void addVoice(java.lang.String voice)
           
 java.lang.String[] getFacsimile()
           
 java.lang.String[] getOther()
           
 java.lang.String[] getOtherType()
           
 java.lang.String[] getVoice()
           
 void setFacsimile(java.lang.String[] facsimile)
           
 void setOther(java.lang.String[] other)
           
 void setOtherType(java.lang.String[] othertype)
           
 void setVoice(java.lang.String[] voice)
           
 java.lang.String toString()
          to String method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Phone

public Phone(java.lang.String[] facsimile,
             java.lang.String[] voice)
Creates a new instance of Phone

Parameters:
facsimile -
voice -

Phone

public Phone(java.lang.String[] facsimile,
             java.lang.String[] other,
             java.lang.String[] othertype,
             java.lang.String[] voice)
Creates a new instance of Phone

Parameters:
facsimile -
other -
othertype -
voice -
Method Detail

getFacsimile

public java.lang.String[] getFacsimile()
Returns:
fax

addFacsimile

public void addFacsimile(java.lang.String facsimile)
Parameters:
facsimile -
See Also:
getFacsimile()

setFacsimile

public void setFacsimile(java.lang.String[] facsimile)
Parameters:
facsimile -
See Also:
getFacsimile()

getOther

public java.lang.String[] getOther()
Returns:
other phones

addOther

public void addOther(java.lang.String other)
Parameters:
other -
See Also:
getOther()

setOther

public void setOther(java.lang.String[] other)
Parameters:
other -
See Also:
getOther()

getOtherType

public java.lang.String[] getOtherType()
Returns:
other types

addOtherType

public void addOtherType(java.lang.String othertype)
Parameters:
othertype -
See Also:
getOtherType()

setOtherType

public void setOtherType(java.lang.String[] othertype)
Parameters:
othertype -
See Also:
getOtherType()

getVoice

public java.lang.String[] getVoice()
Returns:
voice

addVoice

public void addVoice(java.lang.String voice)
Parameters:
voice -
See Also:
getVoice()

setVoice

public void setVoice(java.lang.String[] voice)
Parameters:
voice -
See Also:
getVoice()

toString

public java.lang.String toString()
to String method

Overrides:
toString in class java.lang.Object
Returns:
string representation

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org