| Package | Description |
|---|---|
| com.google.api.gbase.client |
| Modifier and Type | Field and Description |
|---|---|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.BOOLEAN
Either true or false.
|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.DATE
Date for an event, in format YYYY-MM-DD (RFC3339).
|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.DATE_TIME
Date and time for an event, in format YYYY-MM-DDThh:mm:ss (RFC3339).
|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.DATE_TIME_RANGE
Start and end dates for an event.
|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.FLOAT
Numbers with decimal digits.
|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.FLOAT_UNIT
Numbers with decimal digits and a string.
|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.GROUP
Group of related attributes.
|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.INT
Whole number values.
|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.INT_UNIT
Whole number value and a string.
|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.LOCATION
A location, a string describing the address.
|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.NUMBER
Any kind of number.
|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.NUMBER_UNIT
A number and a string.
|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.REFERENCE
A reference to another Google Base Item.
|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.SHIPPING
Shipping information.
|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.TAX
Tax information.
|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.TEXT
Text values.
|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.URL
HTTP URL.
|
| Modifier and Type | Method and Description |
|---|---|
GoogleBaseAttributeType |
AttributeHistogram.getAttributeType()
Gets the type of the attribute this histogram describes.
|
static GoogleBaseAttributeType |
GoogleBaseAttributeType.getInstance(String typeName)
Get a type instance.
|
GoogleBaseAttributeType |
GoogleBaseAttributeType.getSupertype()
Gets the supertype or null.
|
GoogleBaseAttributeType |
GoogleBaseAttributeId.getType()
Gets the attribute type, or null if it is not known.
|
GoogleBaseAttributeType |
GoogleBaseAttribute.getType()
Gets the type of the attribute, or null.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GmAttributes.addAttribute(String name,
GoogleBaseAttributeType type)
Deprecated.
use
GmAttributes.addAttribute(GoogleBaseAttributeId, GmAttribute.Importance)
instead. This method will be removed in a future release |
GoogleBaseAttribute |
GoogleBaseAttributesExtension.getAttribute(String name,
GoogleBaseAttributeType type)
Gets the first attribute with a certain name and type.
|
List<? extends GoogleBaseAttribute> |
GoogleBaseAttributesExtension.getAttributes(String name,
GoogleBaseAttributeType type)
Gets all the attributes with a certain name and type.
|
boolean |
GoogleBaseAttributeType.isSupertypeOf(GoogleBaseAttributeType subtype)
Checks whether the given type is the same as this type or a subtype.
|
void |
GoogleBaseAttributesExtension.removeAttributes(String name,
GoogleBaseAttributeType type)
Removes all attributes with a certain name and
type from the list.
|
void |
AttributeHistogram.setAttributeId(String name,
GoogleBaseAttributeType type)
Sets attribute name and type.
|
| Constructor and Description |
|---|
AttributeHistogram(String attributeName,
GoogleBaseAttributeType attributeType)
Creates and initializes an AttributeHistogram.
|
GoogleBaseAttribute(String name,
GoogleBaseAttributeType type)
Creates a new GoogleBaseAttribute with a name and type.
|
GoogleBaseAttribute(String name,
GoogleBaseAttributeType type,
boolean privateAccess)
Creates a new GoogleBaseAttribute with a name and type.
|
GoogleBaseAttribute(String name,
GoogleBaseAttributeType type,
boolean privateAccess,
String textValue)
Creates a new Extension attribute with a name, type and string content.
|
GoogleBaseAttribute(String name,
GoogleBaseAttributeType type,
String textValue)
Creates a new Extension attribute with a name, type and string content.
|
GoogleBaseAttributeId(String name,
GoogleBaseAttributeType type)
Creates a public attribute id.
|
Copyright © 2012. All Rights Reserved.