public class Address extends java.lang.Object implements RegistryObject
Constructor and Description |
---|
Address()
Constructs a new Address with no address-lines and no useType or sortCode
attribute.
|
Address(java.lang.String type,
java.lang.String sort)
Constructs a new Address with no address-lines, but with the given useType
and sortCode attributes.
|
Modifier and Type | Method and Description |
---|---|
void |
addAddressLine(AddressLine line)
Add a new addressline to this address.
|
java.util.Vector |
getAddressLineVector()
Returns the addresslines of this address.
|
java.lang.String |
getSortCode()
Returns the sortcode of this address.
|
java.lang.String |
getTModelKey()
Returns the String of this Address.
|
java.lang.String |
getUseType()
Returns the usetype of this address.
|
void |
setAddressLineVector(java.util.Vector lines)
Add a collection of new addresslines to this address.
|
void |
setSortCode(java.lang.String sort)
Sets the sortcode of this address to the given sortcode.
|
void |
setTModelKey(java.lang.String key)
Sets the key of this tModel to the given key.
|
void |
setUseType(java.lang.String type)
Sets the usetype of this address to the given usetype.
|
public Address()
public Address(java.lang.String type, java.lang.String sort)
type
- The usetype of the new address, or null if the address
doesn't have a usetype.sort
- The sortcode of the new address, or null if the address
doesn't have a sortcode.public void setUseType(java.lang.String type)
type
- The new usetype of this address, or null if the address
doesn't have an usetype anymore.public java.lang.String getUseType()
public void setSortCode(java.lang.String sort)
sort
- The new sortcode of this address, or null if the address
doesn't have a sortcode anymore.public java.lang.String getSortCode()
public void setTModelKey(java.lang.String key)
key
- The new key of this tModel.public java.lang.String getTModelKey()
public void addAddressLine(AddressLine line)
line
- The addressline to be added to this address.public void setAddressLineVector(java.util.Vector lines)
lines
- The collection of addresslines to add.public java.util.Vector getAddressLineVector()
Copyright ? 2003 Apache Software Foundation. All rights reserved.