| java.lang.Object | ||
| ↳ | com.google.gdata.model.Element | |
| ↳ | com.google.gdata.model.gd.PostalAddress | |
Describes a postal address.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PostalAddress.Rel | Postal address type. | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| KEY | The key for this element. | ||||||||||
| LABEL | Simple string value used to name this address. | ||||||||||
| PRIMARY | Whether this is the primary postal address. | ||||||||||
| REL | Postal address type. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.model.Element
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an instance using the default key.
| |||||||||||
Constructs a new instance with the given value.
| |||||||||||
| 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 simple string value used to name this address.
| |||||||||||
Returns the whether this is the primary postal address.
| |||||||||||
Returns the postal address type.
| |||||||||||
Returns the address string.
| |||||||||||
Returns whether it has the simple string value used to name this address.
| |||||||||||
Returns whether it has the whether this is the primary postal address.
| |||||||||||
Returns whether it has the postal address type.
| |||||||||||
Returns whether it has the address string.
| |||||||||||
Locks this element.
| |||||||||||
Registers the metadata for this element.
| |||||||||||
Sets the simple string value used to name this address.
| |||||||||||
Sets the whether this is the primary postal address.
| |||||||||||
Sets the postal address type.
| |||||||||||
Sets the address string.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.model.Element
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs an instance using the default key.
Constructs a new instance with the given value.
| value | Address string. |
|---|
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 |
| obj |
|---|
Returns the simple string value used to name this address.
Returns the whether this is the primary postal address.
Returns the postal address type.
Returns the address string.
Returns whether it has the simple string value used to name this address.
Returns whether it has the whether this is the primary postal address.
Returns whether it has the postal address type.
Returns whether it has the address string.
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 simple string value used to name this address.
| label | Simple string value used to name this address 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 postal address type.
| rel | Postal address type or null to reset |
|---|
Sets the address string.
| value | Address string or null to reset |
|---|