| java.lang.Object | ||
| ↳ | com.google.gdata.model.Element | |
| ↳ | com.google.gdata.model.gd.StructuredPostalAddress | |
Describes a structured postal address.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| StructuredPostalAddress.MailClass | The mail class. | ||||||||||
| StructuredPostalAddress.Rel | The postal address type. | ||||||||||
| StructuredPostalAddress.Usage | The context for the address use. | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| KEY | The key for this element. | ||||||||||
| LABEL | Simple string value used to name this address. | ||||||||||
| MAIL_CLASS | The mail class. | ||||||||||
| PRIMARY | Whether this is the primary postal address. | ||||||||||
| REL | The postal address type. | ||||||||||
| USAGE | The context for the address use. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.model.Element
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an instance using the default key.
| |||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Subclass constructor, allows subclasses to supply their own element key.
| |||||||||||
Constructs a new instance by doing a shallow copy of data from an existing
Element instance. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the Used in work addresses.
| |||||||||||
Returns the Can be city, village, town, borough, etc.
| |||||||||||
Returns the The country name.
| |||||||||||
Returns the The full, unstructured address.
| |||||||||||
Returns the Used in places where houses or buildings have names.
| |||||||||||
Returns the Simple string value used to name this address.
| |||||||||||
Returns the The mail class.
| |||||||||||
Returns the Neighborhood.
| |||||||||||
Returns the P.O.
| |||||||||||
Returns the Postal code.
| |||||||||||
Returns the whether this is the primary postal address.
| |||||||||||
Returns the Region is state, province, county (in Ireland), Land (in
Germany), departement (in France), etc.
| |||||||||||
Returns the the postal address type.
| |||||||||||
Returns the Can be street, avenue, road, etc.
| |||||||||||
Returns the Subregion is county (US), province (in Italy), etc.
| |||||||||||
Returns the The context for the address use.
| |||||||||||
Returns whether it has the Used in work addresses.
| |||||||||||
Returns whether it has the Can be city, village, town, borough, etc.
| |||||||||||
Returns whether it has the The country name.
| |||||||||||
Returns whether it has the The full, unstructured address.
| |||||||||||
Returns whether it has the Used in places where houses or buildings have
names.
| |||||||||||
Returns whether it has the Simple string value used to name this address.
| |||||||||||
Returns whether it has the The mail class.
| |||||||||||
Returns whether it has the Neighborhood.
| |||||||||||
Returns whether it has the P.O.
| |||||||||||
Returns whether it has the Postal code.
| |||||||||||
Returns whether it has the whether this is the primary postal address.
| |||||||||||
Returns whether it has the Region is state, province, county (in Ireland),
Land (in Germany), departement (in France), etc.
| |||||||||||
Returns whether it has the the postal address type.
| |||||||||||
Returns whether it has the Can be street, avenue, road, etc.
| |||||||||||
Returns whether it has the Subregion is county (US), province (in Italy),
etc.
| |||||||||||
Returns whether it has the The context for the address use.
| |||||||||||
Locks this element.
| |||||||||||
Registers the metadata for this element.
| |||||||||||
Sets the Used in work addresses.
| |||||||||||
Sets the Can be city, village, town, borough, etc.
| |||||||||||
Sets the The country name.
| |||||||||||
Sets the The full, unstructured address.
| |||||||||||
Sets the Used in places where houses or buildings have names.
| |||||||||||
Sets the Simple string value used to name this address.
| |||||||||||
Sets the The mail class.
| |||||||||||
Sets the Neighborhood.
| |||||||||||
Sets the P.O.
| |||||||||||
Sets the Postal code.
| |||||||||||
Sets the whether this is the primary postal address.
| |||||||||||
Sets the Region is state, province, county (in Ireland), Land (in Germany),
departement (in France), etc.
| |||||||||||
Sets the the postal address type.
| |||||||||||
Sets the Can be street, avenue, road, etc.
| |||||||||||
Sets the Subregion is county (US), province (in Italy), etc.
| |||||||||||
Sets the The context for the address use.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.model.Element
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs an instance using the default key.
Subclass constructor, allows subclasses to supply their own element key.
| key |
|---|
Constructs a new instance by doing a shallow copy of data from an existing
Element instance. Will use the given ElementKey as the key
for the element. This constructor is used when adapting from one element
key to another. You cannot call this constructor directly, instead use
createElement(ElementKey, Element).
| key | The key to use for this element. |
|---|---|
| source | Source element |
Returns the Used in work addresses. Also for 'in care of' or 'c/o'.
Returns the Can be city, village, town, borough, etc.
Returns the The full, unstructured address.
Returns the Used in places where houses or buildings have names.
Returns the Simple string value used to name this address.
Returns the The mail class.
Returns the Neighborhood. Used to disambiguate a street.
Returns the whether this is the primary postal address.
Returns the Region is state, province, county (in Ireland), Land (in Germany), departement (in France), etc.
Returns the the postal address type.
Returns the Can be street, avenue, road, etc. This element also includes the house number and room/apartment/flat/floor number.
Returns the Subregion is county (US), province (in Italy), etc.
Returns the The context for the address use.
Returns whether it has the Used in work addresses. Also for 'in care of' or 'c/o'.
Returns whether it has the Can be city, village, town, borough, etc.
Returns whether it has the The country name.
Returns whether it has the The full, unstructured address.
Returns whether it has the Used in places where houses or buildings have names.
Returns whether it has the Simple string value used to name this address.
Returns whether it has the The mail class.
Returns whether it has the Neighborhood. Used to disambiguate a street.
Returns whether it has the P.O. box.
Returns whether it has the Postal code.
Returns whether it has the whether this is the primary postal address.
Returns whether it has the Region is state, province, county (in Ireland), Land (in Germany), departement (in France), etc.
Returns whether it has the the postal address type.
Returns whether it has the Can be street, avenue, road, etc. This element also includes the house number and room/apartment/flat/floor number.
Returns whether it has the Subregion is county (US), province (in Italy), etc.
Returns whether it has the The context for the address use.
Locks this element. A locked element cannot have any changes made to its content or its attributes or child elements. This will also lock all attributes and child elements as well. Once this method has been called, this element can be safely published to other threads.
Registers the metadata for this element.
| registry |
|---|
Sets the Used in work addresses. Also for 'in care of' or 'c/o'.
| agent | Used in work addresses. Also for 'in care of' or 'c/o' or
null to reset |
|---|
Sets the Can be city, village, town, borough, etc.
| city | Can be city, village, town, borough, etc or null to
reset |
|---|
Sets the The country name.
| country | The country name or null to reset |
|---|
Sets the The full, unstructured address.
| formattedAddress | The full, unstructured address or null to
reset |
|---|
Sets the Used in places where houses or buildings have names.
| housename | Used in places where houses or buildings have names or
null to reset |
|---|
Sets the Simple string value used to name this address.
| label | Simple string value used to name this address or null
to reset |
|---|
Sets the The mail class.
| mailClass | The mail class or null to reset |
|---|
Sets the Neighborhood. Used to disambiguate a street.
| neighborhood | Neighborhood. Used to disambiguate a street or null to reset |
|---|
Sets the P.O. box.
| pobox | P.O. box or null to reset |
|---|
Sets the Postal code.
| postcode | Postal code or null to reset |
|---|
Sets the whether this is the primary postal address.
| primary | Whether this is the primary postal address or null
to reset |
|---|
Sets the Region is state, province, county (in Ireland), Land (in Germany), departement (in France), etc.
| region | Region is state, province, county (in Ireland), Land (in
Germany), departement (in France), etc or null to reset |
|---|
Sets the the postal address type.
| rel | The postal address type or null to reset |
|---|
Sets the Can be street, avenue, road, etc. This element also includes the house number and room/apartment/flat/floor number.
| street | Can be street, avenue, road, etc. This element also includes
the house number and room/apartment/flat/floor number or null
to reset |
|---|
Sets the Subregion is county (US), province (in Italy), etc.
| subregion | Subregion is county (US), province (in Italy), etc or
null to reset |
|---|
Sets the The context for the address use.
| usage | The context for the address use or null to reset |
|---|