|
|||||||||
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.Builder
public static final class XAD.Builder
XAD.Builder
Build class used to construct and validate an XAD
object.
Constructor Summary | |
---|---|
XAD.Builder()
Default constructor. |
Method Summary | |
---|---|
XAD |
build()
Build XAD and validate necessary fields. |
XAD.Builder |
city(java.lang.String value)
Set the street address city. |
XAD.Builder |
country(java.lang.String value)
Set the street address country. |
XAD.Builder |
firstLine(java.lang.String value)
Set the first line of the street address. |
XAD.Builder |
postCode(int value)
Set the street address post code. |
XAD.Builder |
secondLine(java.lang.String value)
Set the second line of the street address. |
XAD.Builder |
state(java.lang.String value)
Set the street address state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XAD.Builder()
Method Detail |
---|
public XAD.Builder firstLine(java.lang.String value)
value
- First line (not null).
XAD.Builder
public XAD.Builder secondLine(java.lang.String value)
value
- Second line (not null).
XAD.Builder
public XAD.Builder city(java.lang.String value)
value
- City (not null).
XAD.Builder
public XAD.Builder state(java.lang.String value)
value
- State (not null).
XAD.Builder
public XAD.Builder postCode(int value)
value
- Post code (not null).
XAD.Builder
public XAD.Builder country(java.lang.String value)
value
- Country (not null).
XAD.Builder
public XAD build() throws MDMValidationException
XAD
and validate necessary fields.
XAD
MDMValidationException
- Thrown when validation fails.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |