base.user
Class PhoneNumber
java.lang.Object
base.user.PhoneNumber
- All Implemented Interfaces:
- IXMLSaveable
public class PhoneNumber
- extends java.lang.Object
- implements IXMLSaveable
Constructor Summary |
|
PhoneNumber()
|
protected |
PhoneNumber(int id,
java.lang.String areaCode,
java.lang.String exchange,
java.lang.String number)
|
protected |
PhoneNumber(int id,
java.lang.String areaCode,
java.lang.String exchange,
java.lang.String number,
java.lang.String description)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhoneNumber
protected PhoneNumber(int id,
java.lang.String areaCode,
java.lang.String exchange,
java.lang.String number)
- Parameters:
id
- areaCode
- exchange
- number
-
PhoneNumber
protected PhoneNumber(int id,
java.lang.String areaCode,
java.lang.String exchange,
java.lang.String number,
java.lang.String description)
- Parameters:
id
- areaCode
- exchange
- number
- description
-
PhoneNumber
public PhoneNumber()
getAreaCode
public java.lang.String getAreaCode()
- Returns:
- Returns the areaCode.
setAreaCode
public void setAreaCode(java.lang.String areaCode)
- Parameters:
areaCode
- The areaCode to set.
getDescription
public java.lang.String getDescription()
- Returns:
- Returns the description.
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description
- The description to set.
getExchange
public java.lang.String getExchange()
- Returns:
- Returns the exchange.
setExchange
public void setExchange(java.lang.String exchange)
- Parameters:
exchange
- The exchange to set.
getNumber
public java.lang.String getNumber()
- Returns:
- Returns the number.
setNumber
public void setNumber(java.lang.String number)
- Parameters:
number
- The number to set.
getId
public int getId()
- Returns:
- Returns the id.
setId
protected void setId(int id)
- Parameters:
id
- The id to set.
toXml
public org.w3c.dom.Node toXml(org.w3c.dom.Document document)
- Specified by:
toXml
in interface IXMLSaveable
fromXml
public PhoneNumber fromXml(org.w3c.dom.Node node)
Copyright © 2006 SF.net. All Rights Reserved.