|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.api.gbase.client.GmAttributes.GmAttribute
public static class GmAttributes.GmAttribute
The information defining an attribute, as contained by the gm:attribute element in the itemtypes feed.
Nested Class Summary | |
---|---|
static class |
GmAttributes.GmAttribute.Importance
Enumeration defining the importance levels that an attribute can have. |
Constructor Summary | |
---|---|
GmAttributes.GmAttribute(GoogleBaseAttributeId attributeId,
GmAttributes.GmAttribute.Importance importance)
Creates a GmAttribute instance with the specified id and importance. |
Method Summary | |
---|---|
GoogleBaseAttributeId |
getAttributeId()
Returns the id of this attribute. |
GmAttributes.GmAttribute.Importance |
getImportance()
Returns the importance for this attribute, or null if not defined. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GmAttributes.GmAttribute(GoogleBaseAttributeId attributeId, GmAttributes.GmAttribute.Importance importance)
attributeId
- the id of the attributeimportance
- the importance, or null if no information is available
java.lang.NullPointerException
- if the attributeId is null.Method Detail |
---|
public GoogleBaseAttributeId getAttributeId()
public GmAttributes.GmAttribute.Importance getImportance()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |