| java.lang.Object | ||
| ↳ | com.google.gdata.model.Element | |
| ↳ | com.google.gdata.model.gd.PhoneNumber | |
Describes a phone number.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PhoneNumber.Rel | Programmatic value that identifies the type of phone number. | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| KEY | The key for this element. | ||||||||||
| LABEL | Simple string value used to name this phone number. | ||||||||||
| PRIMARY | Whether this is the primary phone number. | ||||||||||
| REL | Programmatic value that identifies the type of phone number. | ||||||||||
| URI | An optional "tel URI" useful for programmatic access. | ||||||||||
|
[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 phone number.
| |||||||||||
Returns the whether this is the primary phone number.
| |||||||||||
Returns the programmatic value that identifies the type of phone number.
| |||||||||||
Returns the An optional "tel URI" useful for programmatic access.
| |||||||||||
Returns the human-readable phone number.
| |||||||||||
Returns whether it has the simple string value used to name this phone
number.
| |||||||||||
Returns whether it has the whether this is the primary phone number.
| |||||||||||
Returns whether it has the programmatic value that identifies the type of
phone number.
| |||||||||||
Returns whether it has the An optional "tel URI" useful for programmatic
access.
| |||||||||||
Returns whether it has the human-readable phone number.
| |||||||||||
Locks this element.
| |||||||||||
Registers the metadata for this element.
| |||||||||||
Sets the simple string value used to name this phone number.
| |||||||||||
Sets the whether this is the primary phone number.
| |||||||||||
Sets the programmatic value that identifies the type of phone number.
| |||||||||||
Sets the An optional "tel URI" useful for programmatic access.
| |||||||||||
Sets the human-readable phone number.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.model.Element
| |||||||||||
From class
java.lang.Object
| |||||||||||
Programmatic value that identifies the type of phone number.
Constructs an instance using the default key.
Constructs a new instance with the given value.
| value | Human-readable phone number. |
|---|
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 phone number.
Returns the whether this is the primary phone number.
Returns the programmatic value that identifies the type of phone number.
Returns the An optional "tel URI" useful for programmatic access.
Returns the human-readable phone number.
Returns whether it has the simple string value used to name this phone number.
Returns whether it has the whether this is the primary phone number.
Returns whether it has the programmatic value that identifies the type of phone number.
Returns whether it has the An optional "tel URI" useful for programmatic access.
Returns whether it has the human-readable phone number.
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 phone number.
| label | Simple string value used to name this phone number or null to reset |
|---|
Sets the whether this is the primary phone number.
| primary | Whether this is the primary phone number or null to
reset |
|---|
Sets the programmatic value that identifies the type of phone number.
| rel | Programmatic value that identifies the type of phone number or
null to reset |
|---|
Sets the An optional "tel URI" useful for programmatic access.
| uri | An optional "tel URI" useful for programmatic access or null to reset |
|---|
Sets the human-readable phone number.
| value | Human-readable phone number or null to reset |
|---|