|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectau.gov.nehta.vendorlibrary.mdm.datatypes.XAD
public class XAD
XAD
Encapsulates an extended address.
Nested Class Summary | |
---|---|
static class |
XAD.Builder
XAD.Builder
Build class used to construct and validate an XAD object. |
Method Summary | |
---|---|
java.lang.String |
getCity()
Retrieve street address city. |
java.lang.String |
getCountry()
Retrieve street address country. |
java.lang.String |
getFirstLine()
Retrieve street address first line. |
int |
getPostCode()
Retrieve street address post code. |
java.lang.String |
getSecondLine()
Retrieve street address second line. |
java.lang.String |
getState()
Retrieve street address state. |
static XAD |
parse(java.lang.String parseValue)
Parse XAD from string. |
java.lang.String |
toString()
Outputs an XAD in the following format:
firstLine^secondLine^city^state^postCode^country
Variables that are not set are denoted by an empty string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String getFirstLine()
public java.lang.String getSecondLine()
public java.lang.String getCity()
public java.lang.String getState()
public int getPostCode()
public java.lang.String getCountry()
public static XAD parse(java.lang.String parseValue)
XAD
from string.
parseValue
- String to be parsed (not null).
XAD
public java.lang.String toString()
XAD
in the following format:
firstLine^secondLine^city^state^postCode^country
Variables that are not set are denoted by an empty string.
Trailing '^' symbols are trimmed. For example:
'firstLine^^city^state^postCode^' becomes 'firstLine^^city^state^postCode'
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |