public class Address extends Object
Element of Contact
, Organisation
, Role
Example:
<Address> <CityArea cls="U">Annapolis</CityArea > <Country cls="U">USA</Country > <Description cls="U">Engineering Services Organization</Description > <PostCode cls="U">21402</PostCode > <StateCounty cls="U">Maryland</StateCounty > <Street cls="U">Turbot</Street > </Address>
Constructor and Description |
---|
Address() |
Modifier and Type | Method and Description |
---|---|
S50 |
getCityArea()
Get the city of the address or an operational area name..
|
TString |
getCountry()
Get the country or area code.
|
S100 |
getDescription()
Get the title for the address; for an Organisation, it can be the name of
the specific Branch or office; for a Contact or a Role, it can be the job
title associated to the address..
|
S15 |
getPostCode()
Get the zip code or postal code portion of the address..
|
S50 |
getStateCounty()
Get the state or other sub-national political area..
|
S255 |
getStreet()
Get the street address..
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetCityArea()
Determine if the CityArea is configured.
|
boolean |
isSetCountry()
Determine if the Country is configured.
|
boolean |
isSetDescription()
Determine if the Description is configured.
|
boolean |
isSetPostCode()
Determine if the PostCode is configured.
|
boolean |
isSetStateCounty()
Determine if the StateCounty is configured.
|
boolean |
isSetStreet()
Determine if the Street is configured.
|
void |
setCityArea(S50 value)
Set the city of the address or an operational area name..
|
void |
setCountry(TString value)
Set the country or area code.
|
void |
setDescription(S100 value)
Set the title for the address; for an Organisation, it can be the name of
the specific Branch or office; for a Contact or a Role, it can be the job
title associated to the address..
|
void |
setPostCode(S15 value)
Set the zip code or postal code portion of the address..
|
void |
setStateCounty(S50 value)
Set the state or other sub-national political area..
|
void |
setStreet(S255 value)
Set the street address..
|
String |
toString()
Get a string representation of this Address instance configuration.
|
Address |
withCityArea(String value)
Set the city of the address or an operational area name.
|
Address |
withCountry(ListCAO value)
Set the country or area code.
|
Address |
withDescription(String value)
Set the title for the address; for an Organisation, it can be the name of
the specific Branch or office; for a Contact or a Role, it can be the job
title associated to the address.
|
Address |
withPostCode(String value)
Set the zip code or postal code portion of the address.
|
Address |
withStateCounty(String value)
Set the state or other sub-national political area.
|
Address |
withStreet(String value)
Set the street address.
|
public S100 getDescription()
S100
instancepublic void setDescription(S100 value)
value
- a S100
instancepublic boolean isSetDescription()
public void setStreet(S255 value)
value
- a S255
instancepublic boolean isSetStreet()
public S50 getCityArea()
S50
instancepublic void setCityArea(S50 value)
value
- a S50
instancepublic boolean isSetCityArea()
public S50 getStateCounty()
S50
instancepublic void setStateCounty(S50 value)
value
- a S50
instancepublic boolean isSetStateCounty()
public S15 getPostCode()
S15
instancepublic void setPostCode(S15 value)
value
- a S15
instancepublic boolean isSetPostCode()
public TString getCountry()
TString
data typepublic void setCountry(TString value)
value
- the Country value in a TString
data typepublic boolean isSetCountry()
If configured this method also inspects the TString
wrapped value.
public Address withDescription(String value)
value
- An instances of type String
.public Address withStreet(String value)
value
- An instances of type String
.public Address withCityArea(String value)
value
- An instances of type String
.public Address withStateCounty(String value)
value
- An instances of type String
.public Address withPostCode(String value)
value
- An instances of type String
.public Address withCountry(ListCAO value)
value
- An instances of type ListCAO
.public String toString()
public boolean isSet()
Note that this method only checks for the presence of required information; this method does not validate the information format.
Copyright © 2016 OpenSSRF.org. All rights reserved.