| java.lang.Object | ||
| ↳ | com.google.gdata.model.Element | |
| ↳ | com.google.gdata.model.gd.Im | |
Describes an instant messaging address.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Im.Protocol | Im protocol. | ||||||||||
| Im.Rel | Im type. | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ADDRESS | IM address. | ||||||||||
| KEY | The key for this element. | ||||||||||
| LABEL | Label. | ||||||||||
| PRIMARY | Whether this is the primary instant messaging address. | ||||||||||
| PROTOCOL | Im protocol. | ||||||||||
| REL | Im type. | ||||||||||
|
[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 IM address.
| |||||||||||
Returns the label.
| |||||||||||
Returns the whether this is the primary instant messaging address.
| |||||||||||
Returns the im protocol.
| |||||||||||
Returns the im type.
| |||||||||||
Returns whether it has the IM address.
| |||||||||||
Returns whether it has the label.
| |||||||||||
Returns whether it has the whether this is the primary instant messaging
address.
| |||||||||||
Returns whether it has the im protocol.
| |||||||||||
Returns whether it has the im type.
| |||||||||||
Locks this element.
| |||||||||||
Registers the metadata for this element.
| |||||||||||
Sets the IM address.
| |||||||||||
Sets the label.
| |||||||||||
Sets the whether this is the primary instant messaging address.
| |||||||||||
Sets the im protocol.
| |||||||||||
Sets the im type.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.model.Element
| |||||||||||
From class
java.lang.Object
| |||||||||||
Whether this is the primary instant messaging address.
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 |
| obj |
|---|
Returns the IM address.
Returns the label.
Returns the whether this is the primary instant messaging address.
Returns the im protocol.
Returns the im type.
Returns whether it has the IM address.
Returns whether it has the label.
Returns whether it has the whether this is the primary instant messaging address.
Returns whether it has the im protocol.
Returns whether it has the im type.
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 IM address.
| address | IM address or null to reset |
|---|
Sets the label.
| label | Label or null to reset |
|---|
Sets the whether this is the primary instant messaging address.
| primary | Whether this is the primary instant messaging address or
null to reset |
|---|
Sets the im protocol.
| protocol | Im protocol or null to reset |
|---|
Sets the im type.
| rel | Im type or null to reset |
|---|