| java.lang.Object | ||
| ↳ | com.google.gdata.model.Element | |
| ↳ | com.google.gdata.model.gd.CustomProperty | |
Name-value pair with optional type and unit.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| KEY | The key for this element. | ||||||||||
| NAME | Can be a URI to indicate a specific ontology. | ||||||||||
| TYPE | Datatype such as string, integer, and date, or an ontology-specific URI. | ||||||||||
| UNIT | Units of data - can also be a URI to indicate a specific ontology. | ||||||||||
|
[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 can be a URI to indicate a specific ontology.
| |||||||||||
Returns the datatype such as string, integer, and date, or an
ontology-specific URI.
| |||||||||||
Returns the units of data - can also be a URI to indicate a specific
ontology.
| |||||||||||
Returns the value.
| |||||||||||
Returns whether it has the can be a URI to indicate a specific ontology.
| |||||||||||
Returns whether it has the datatype such as string, integer, and date, or
an ontology-specific URI.
| |||||||||||
Returns whether it has the units of data - can also be a URI to indicate a
specific ontology.
| |||||||||||
Returns whether it has the value.
| |||||||||||
Locks this element.
| |||||||||||
Registers the metadata for this element.
| |||||||||||
Sets the can be a URI to indicate a specific ontology.
| |||||||||||
Sets the datatype such as string, integer, and date, or an
ontology-specific URI.
| |||||||||||
Sets the units of data - can also be a URI to indicate a specific ontology.
| |||||||||||
Sets the value.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.model.Element
| |||||||||||
From class
java.lang.Object
| |||||||||||
Datatype such as string, integer, and date, or an ontology-specific URI.
Units of data - can also be a URI to indicate a specific ontology.
Constructs an instance using the default key.
Constructs a new instance with the given value.
| value | Value. |
|---|
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 can be a URI to indicate a specific ontology.
Returns the datatype such as string, integer, and date, or an ontology-specific URI.
Returns the units of data - can also be a URI to indicate a specific ontology.
Returns the value.
Returns whether it has the can be a URI to indicate a specific ontology.
Returns whether it has the datatype such as string, integer, and date, or an ontology-specific URI.
Returns whether it has the units of data - can also be a URI to indicate a specific ontology.
Returns whether it has the value.
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 can be a URI to indicate a specific ontology.
| name | Can be a URI to indicate a specific ontology or null to
reset |
|---|
Sets the datatype such as string, integer, and date, or an ontology-specific URI.
| type | Datatype such as string, integer, and date, or an
ontology-specific URI or null to reset |
|---|
Sets the units of data - can also be a URI to indicate a specific ontology.
| unit | Units of data - can also be a URI to indicate a specific
ontology or null to reset |
|---|
Sets the value.
| value | Value or null to reset |
|---|