public class StreetAddress extends Object
Modifier and Type | Field and Description |
---|---|
String |
addressLine1 |
boolean |
addressLine1IsModified |
String |
addressLine2 |
boolean |
addressLine2IsModified |
String |
city |
boolean |
cityIsModified |
String |
country |
boolean |
countryIsModified |
String |
stateOrProvince |
String |
stateOrProvinceDisplayName |
boolean |
stateOrProvinceDisplayNameIsModified |
boolean |
stateOrProvinceIsModified |
String |
zipOrPostalCode |
boolean |
zipOrPostalCodeIsModified |
Constructor and Description |
---|
StreetAddress() |
Modifier and Type | Method and Description |
---|---|
static StreetAddress |
fromProxy(BroadWorksServer bws,
StreetAddressProxy proxy)
Re-inserts non-serializable information into a Proxy class in order to regain the source DataType class
|
String |
getAddressLine1() |
String |
getAddressLine2() |
String |
getCity() |
String |
getCountry() |
static StreetAddress |
getFromNode(Node node)
Retrieves an elements of type StreetAddress by parsing an XML node.
|
static StreetAddress[] |
getListFromNode(Node[] nodeList)
Retrieves an Array of elements of type StreetAddress by parsing the XML node.
|
static StreetAddress[] |
getListFromNode(Node node,
String elementName)
Retrieves an Array of elements of type StreetAddress by parsing the XML node.
|
StreetAddressProxy |
getProxy()
Retrieves the Serializable version of this DataType
|
String |
getStateOrProvince() |
String |
getStateOrProvinceDisplayName() |
String |
getZipOrPostalCode() |
StreetAddress |
setAddressLine1(String addressLine1) |
StreetAddress |
setAddressLine2(String addressLine2) |
StreetAddress |
setCity(String city) |
StreetAddress |
setCountry(String country) |
StreetAddress |
setStateOrProvince(String stateOrProvince) |
StreetAddress |
setStateOrProvinceDisplayName(String stateOrProvinceDisplayName) |
StreetAddress |
setZipOrPostalCode(String zipOrPostalCode) |
String |
toString() |
@Size(min=1, max=80) public String addressLine1
public transient boolean addressLine1IsModified
@Size(min=1, max=80) public String addressLine2
public transient boolean addressLine2IsModified
@Size(min=1, max=50) public String city
public transient boolean cityIsModified
@Size(min=1, max=50) public String stateOrProvince
public transient boolean stateOrProvinceIsModified
@Size(min=1, max=50) public String stateOrProvinceDisplayName
public transient boolean stateOrProvinceDisplayNameIsModified
@Size(min=1, max=50) public String zipOrPostalCode
public transient boolean zipOrPostalCodeIsModified
@Size(min=1, max=50) public String country
public transient boolean countryIsModified
public String getAddressLine1()
public StreetAddress setAddressLine1(String addressLine1)
public String getAddressLine2()
public StreetAddress setAddressLine2(String addressLine2)
public String getCity()
public StreetAddress setCity(String city)
public String getStateOrProvince()
public StreetAddress setStateOrProvince(String stateOrProvince)
public String getStateOrProvinceDisplayName()
public StreetAddress setStateOrProvinceDisplayName(String stateOrProvinceDisplayName)
public String getZipOrPostalCode()
public StreetAddress setZipOrPostalCode(String zipOrPostalCode)
public String getCountry()
public StreetAddress setCountry(String country)
public static StreetAddress getFromNode(Node node)
node
- The source node to parse.public static StreetAddress[] getListFromNode(Node node, String elementName)
node
- The source node to retrieve the array.elementName
- The element name to iterate through.public static StreetAddress[] getListFromNode(Node[] nodeList)
nodeList
- The source node array to retrieve the elements.public StreetAddressProxy getProxy()
public static StreetAddress fromProxy(BroadWorksServer bws, StreetAddressProxy proxy)
bws
- The current active BroadWorks Server connection.proxy
- The proxy object to inject.Copyright © 2016 ECG, Inc. All rights reserved.