| java.lang.Object | |
| ↳ | com.google.api.gbase.client.MetadataEntryExtension |
Handle gm: attributes found in histogram and item types feeds.
This object should be accessed using
getGoogleBaseMetadata().
The metadata can contain either:
getAttributeHistogram())
getItemTypeDescription())
getStats()
GoogleBaseEntry.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| itemType | Item type description information, if it is set. | ||||||||||
| owner | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a MetadataEntryExtension and link it to a
BaseEntry (usually a GoogleBaseEntry). | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets attribute histogram information.
| |||||||||||
Returns the publishing priority for the entry or
null if
the entry doesn't contain this information. | |||||||||||
Gets the
ItemTypeDescription associated with this extension. | |||||||||||
Gets statistics, if available.
| |||||||||||
Checks whether an attribute histogram is available in the current
entry.
| |||||||||||
Checks whether the entry contains the
gm:disapproved tag, marking
it as a disapproved item. | |||||||||||
Checks whether item type description is available in the current entry.
| |||||||||||
Checks whether statistics information is available in the current entry.
| |||||||||||
Checks whether anything has been defined in this extension.
| |||||||||||
Sets the publishing priority for the entry.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Item type description information, if it is set. If it is not set, this means that either this extension has not been initialized yet or that this is not an itemtype entry.
Creates a MetadataEntryExtension and link it to a
BaseEntry (usually a GoogleBaseEntry).
| owner | Entry this object is linked to |
|---|
Gets attribute histogram information.
| IllegalStateException | if the feed was not an histogram feed. |
|---|
Returns the publishing priority for the entry or null if
the entry doesn't contain this information.
publishing_priority parameter,
or null if this information is not available.
Gets the ItemTypeDescription associated with this extension.
| IllegalStateException | if no item type description could be found in the entry (only item type feeds have item type description information) |
|---|
Checks whether an attribute histogram is available in the current entry.
getAttributeHistogram() would work
Checks whether the entry contains the gm:disapproved tag, marking
it as a disapproved item.
true if the gm:disapproved tag is present in the
app:control section, false otherwise.
Checks whether item type description is available in the current entry.
getItemTypeDescription() would work
Checks whether statistics information is available in the current entry.
getStats() would return a Stats
object
Checks whether anything has been defined in this extension.
Sets the publishing priority for the entry.
| value | The value for the publish priority |
|---|