public final class Address extends Property
Property.Id
Modifier and Type | Field and Description |
---|---|
static PropertyFactory<Address> |
FACTORY |
ILLEGAL_PARAMETER_MESSAGE
Constructor and Description |
---|
Address(Group group,
List<Parameter> params,
String value)
Factory constructor.
|
Address(Group group,
String poBox,
String extended,
String street,
String locality,
String region,
String postcode,
String country,
Type... types) |
Address(List<Parameter> params,
String value) |
Address(String poBox,
String extended,
String street,
String locality,
String region,
String postcode,
String country,
Type... types) |
Modifier and Type | Method and Description |
---|---|
String |
getCountry() |
String |
getExtended() |
String |
getLocality() |
String |
getPoBox() |
String |
getPostcode() |
String |
getRegion() |
String |
getStreet() |
String |
getValue() |
void |
validate() |
assertOneOrLess, assertParametersEmpty, assertPidParameter, assertPrefParameter, assertTextParameter, assertTypeParameter, equals, getExtendedParameter, getExtendedParameters, getGroup, getId, getParameter, getParameters, getParameters, hashCode, toString
public static final PropertyFactory<Address> FACTORY
public Address(String poBox, String extended, String street, String locality, String region, String postcode, String country, Type... types)
poBox
- post office box address componentextended
- extended address componentstreet
- street address componentlocality
- locality address componentregion
- region address componentpostcode
- postal code address componentcountry
- country address componenttypes
- optional address typespublic Address(Group group, String poBox, String extended, String street, String locality, String region, String postcode, String country, Type... types)
group
- property grouppoBox
- post office box address componentextended
- extended address componentstreet
- street address componentlocality
- locality address componentregion
- region address componentpostcode
- postal code address componentcountry
- country address componenttypes
- optional address typespublic Address(List<Parameter> params, String value) throws ParseException
params
- property parametersvalue
- string representation of an address valueParseException
public Address(Group group, List<Parameter> params, String value) throws ParseException
group
- property groupparams
- property parametersvalue
- string representation of an address valueParseException
public String getPoBox()
public String getExtended()
public String getStreet()
public String getLocality()
public String getRegion()
public String getPostcode()
public String getCountry()
public String getValue()
Copyright © 2008-2012 Micronode. All Rights Reserved.