deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.model.metadata.iso19115
Class Phone

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

public class Phone
extends 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(String[] facsimile, String[] voice)
          Creates a new instance of Phone
Phone(String[] facsimile, String[] other, String[] othertype, String[] voice)
          Creates a new instance of Phone
 
Method Summary
 void addFacsimile(String facsimile)
           
 void addOther(String other)
           
 void addOtherType(String othertype)
           
 void addVoice(String voice)
           
 String[] getFacsimile()
           
 String[] getOther()
           
 String[] getOtherType()
           
 String[] getVoice()
           
 void setFacsimile(String[] facsimile)
           
 void setOther(String[] other)
           
 void setOtherType(String[] othertype)
           
 void setVoice(String[] voice)
           
 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(String[] facsimile,
             String[] voice)
Creates a new instance of Phone

Parameters:
facsimile -
voice -

Phone

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

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

getFacsimile

public String[] getFacsimile()
Returns:
fax

addFacsimile

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

setFacsimile

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

getOther

public String[] getOther()
Returns:
other phones

addOther

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

setOther

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

getOtherType

public String[] getOtherType()
Returns:
other types

addOtherType

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

setOtherType

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

getVoice

public String[] getVoice()
Returns:
voice

addVoice

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

setVoice

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

toString

public String toString()
to String method

Overrides:
toString in class Object
Returns:
string representation

deegree 2.3 (2010/04/09 10:10 build-4-official)

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