public static class PostalAddress.Builder extends Object implements IBuilder, Serializable
IBuilder,
Serialized Form| Constructor and Description |
|---|
PostalAddress.Builder()
Empty constructor
|
PostalAddress.Builder(PostalAddress address)
Constructor which starts from an existing component.
|
| Modifier and Type | Method and Description |
|---|---|
PostalAddress |
commit()
Finalizes the data gathered for this builder instance.
|
String |
getCity()
Builder accessor for the city
|
CountryCode.Builder |
getCountryCode()
Builder accessor for the countryCode
|
String |
getPostalCode()
Builder accessor for the postalCode
|
String |
getProvince()
Builder accessor for the province
|
String |
getState()
Builder accessor for the state
|
List<String> |
getStreets()
Builder accessor for the streets
|
boolean |
isEmpty()
Checks if any values have been provided for this Builder.
|
void |
setCity(String city)
Builder accessor for the city
|
void |
setCountryCode(CountryCode.Builder countryCode)
Builder accessor for the countryCode
|
void |
setPostalCode(String postalCode)
Builder accessor for the postalCode
|
void |
setProvince(String province)
Builder accessor for the province
|
void |
setState(String state)
Builder accessor for the state
|
void |
setStreets(List<String> streets)
Builder accessor for the streets
|
public PostalAddress.Builder()
public PostalAddress.Builder(PostalAddress address)
public PostalAddress commit() throws InvalidDDMSException
IBuildercommit in interface IBuilderInvalidDDMSException - if any required information is missing or malformedIBuilder.commit()public boolean isEmpty()
IBuilderisEmpty in interface IBuilderIBuilder.isEmpty()public List<String> getStreets()
public void setStreets(List<String> streets)
public String getCity()
public void setCity(String city)
public String getState()
public void setState(String state)
public String getProvince()
public void setProvince(String province)
public String getPostalCode()
public void setPostalCode(String postalCode)
public CountryCode.Builder getCountryCode()
public void setCountryCode(CountryCode.Builder countryCode)
Copyright 2010 - 2013 by Brian Uri!
Generated on 12/15/2013 10:22 AM
http://ddmsence.urizone.net/