base.user
Class NAddress
java.lang.Object
base.user.NAddress
- All Implemented Interfaces:
- IXMLSaveable
public class NAddress
- extends java.lang.Object
- implements IXMLSaveable
Constructor Summary |
|
NAddress()
|
protected |
NAddress(int id,
java.lang.String city,
java.lang.String nation,
java.lang.String street,
java.lang.String region,
java.lang.String postalCode,
java.lang.String description)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAddress
protected NAddress(int id,
java.lang.String city,
java.lang.String nation,
java.lang.String street,
java.lang.String region,
java.lang.String postalCode,
java.lang.String description)
- Parameters:
city
- The Address'sCity.nation
- The Address's Nation.street
- The Address's Street.region
- The Address's Region.postalCode
- The Address's Postal Code.description
- The Address's Description.
NAddress
public NAddress()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getCity
public java.lang.String getCity()
- Returns:
- Returns the city.
setCity
public void setCity(java.lang.String city)
- Parameters:
city
- The city to set.
getNation
public java.lang.String getNation()
- Returns:
- Returns the nation.
setNation
public void setNation(java.lang.String nation)
- Parameters:
nation
- The nation to set.
getPostalCode
public java.lang.String getPostalCode()
- Returns:
- Returns the postalCode.
setPostalCode
public void setPostalCode(java.lang.String postalCode)
- Parameters:
postalCode
- The postalCode to set.
getRegion
public java.lang.String getRegion()
- Returns:
- Returns the region.
setRegion
public void setRegion(java.lang.String region)
- Parameters:
region
- The region 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.
getStreet
public java.lang.String getStreet()
- Returns:
- Returns the street.
setStreet
public void setStreet(java.lang.String street)
- Parameters:
street
- The street 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 NAddress fromXml(org.w3c.dom.Node node)
Copyright © 2006 SF.net. All Rights Reserved.