public static class GmAttributes.GmAttribute
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GmAttributes.GmAttribute.Importance
Enumeration defining the importance levels that an attribute can have.
|
Constructor and Description |
---|
GmAttributes.GmAttribute(GoogleBaseAttributeId attributeId,
GmAttributes.GmAttribute.Importance importance)
Creates a GmAttribute instance with the specified id and importance.
|
Modifier and Type | Method and Description |
---|---|
GoogleBaseAttributeId |
getAttributeId()
Returns the id of this attribute.
|
GmAttributes.GmAttribute.Importance |
getImportance()
Returns the importance for this attribute, or null if not defined.
|
public GmAttributes.GmAttribute(GoogleBaseAttributeId attributeId, GmAttributes.GmAttribute.Importance importance)
attributeId
- the id of the attributeimportance
- the importance, or null if no information is availablejava.lang.NullPointerException
- if the attributeId is null.public GoogleBaseAttributeId getAttributeId()
public GmAttributes.GmAttribute.Importance getImportance()