|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectelectric.uddi.Address
Address represents a UDDI address. An address can have an optional UseType such as "headquarters", "sales office" or "billing department". An address can also have an optional sortCode which is not used by a UDDI registry but can be useful for client-side ordering.
Field Summary |
Constructor Summary | |
Address()
Construct an Address with no lines, useType or sortCode. |
|
Address(AddressLine[] lines)
Construct an Address with the specified lines, no useType and no sortCode. |
Method Summary | |
void |
addAddressLine(AddressLine line)
|
AddressLine[] |
getAddressLines()
|
java.lang.String |
getLanguage()
Return my language. |
java.lang.String |
getSortCode()
Return my sortCode. |
java.lang.String |
getTModelKey()
Return my tModelKey. |
java.lang.String |
getUseType()
Return my useType. |
void |
read(IReader reader)
Restore myself from the specified reader. |
void |
setAddressLines(AddressLine[] lines)
|
void |
setLanguage(java.lang.String language)
Set my language |
void |
setSortCode(java.lang.String sortCode)
Set my sortCode |
void |
setTModelKey(java.lang.String tModelKey)
Set my tModelKey |
void |
setUseType(java.lang.String useType)
Set my useType. |
java.lang.String |
toString()
Return a description of myself. |
void |
write(IWriter writer)
Write myself to the specified writer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Address()
public Address(AddressLine[] lines)
lines
- The lines of the address.Method Detail |
public java.lang.String toString()
public AddressLine[] getAddressLines()
public void setAddressLines(AddressLine[] lines)
lines
- public void addAddressLine(AddressLine line)
line
- public void setUseType(java.lang.String useType)
useType
- The new useType.public java.lang.String getUseType()
public void setSortCode(java.lang.String sortCode)
sortCode
- The new sortCode.public java.lang.String getSortCode()
public void setTModelKey(java.lang.String tModelKey)
tModelKey
- The new tModelKey.public java.lang.String getTModelKey()
public void setLanguage(java.lang.String language)
language
- The new language.public java.lang.String getLanguage()
public void write(IWriter writer) throws java.io.IOException
write
in interface ISerializable
writer
- The IWriter
java.io.IOException
- If a serialization error occurs.public void read(IReader reader) throws java.io.IOException
read
in interface ISerializable
reader
- The IReader
java.io.IOException
- If a deserialization error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |