| java.lang.Object | |
| ↳ | com.google.gdata.model.Attribute |
A data attribute in an instance document. Contains the key that identifies the attribute (name + type) and the value of the attribute.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| key | Key to this attribute. | ||||||||||
| locked | Indicates that the attribute has been locked. | ||||||||||
| value | Untyped attribute value. | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the attribute key of this attribute.
| |||||||||||
Returns the untyped attribute value.
| |||||||||||
Returns true if this attribute has been locked using
lock(). | |||||||||||
Locks this attribute.
| |||||||||||
Sets the value of the attribute.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Indicates that the attribute has been locked.
Untyped attribute value.
Returns the untyped attribute value.
Returns true if this attribute has been locked using lock(). Once an
attribute has been locked it cannot be unlocked.
Locks this attribute. Once an attribute has been locked its value cannot be modified.
Sets the value of the attribute.
| value | Attribute value |
|---|
| NullPointerException | if the value was null |
|---|---|
| IllegalArgumentException | if the value is not of a valid type |
| IllegalStateException | if this attribute is locked |