public enum FeedAttributeType extends Enum<FeedAttributeType>
Java class for FeedAttribute.Type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="FeedAttribute.Type">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INT64"/>
<enumeration value="FLOAT"/>
<enumeration value="STRING"/>
<enumeration value="BOOLEAN"/>
<enumeration value="URL"/>
<enumeration value="DATE_TIME"/>
<enumeration value="INT64_LIST"/>
<enumeration value="FLOAT_LIST"/>
<enumeration value="STRING_LIST"/>
<enumeration value="BOOLEAN_LIST"/>
<enumeration value="URL_LIST"/>
<enumeration value="DATE_TIME_LIST"/>
<enumeration value="PRICE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BOOLEAN |
BOOLEAN_LIST |
DATE_TIME |
DATE_TIME_LIST |
FLOAT |
FLOAT_LIST |
INT_64 |
INT_64_LIST |
PRICE |
STRING |
STRING_LIST |
UNKNOWN
Used for return value only.
|
URL |
URL_LIST |
| Modifier and Type | Method and Description |
|---|---|
static FeedAttributeType |
fromValue(String v) |
String |
value() |
static FeedAttributeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeedAttributeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeedAttributeType INT_64
public static final FeedAttributeType FLOAT
public static final FeedAttributeType STRING
public static final FeedAttributeType BOOLEAN
public static final FeedAttributeType URL
public static final FeedAttributeType DATE_TIME
public static final FeedAttributeType INT_64_LIST
public static final FeedAttributeType FLOAT_LIST
public static final FeedAttributeType STRING_LIST
public static final FeedAttributeType BOOLEAN_LIST
public static final FeedAttributeType URL_LIST
public static final FeedAttributeType DATE_TIME_LIST
public static final FeedAttributeType PRICE
public static final FeedAttributeType UNKNOWN
public static FeedAttributeType[] values()
for (FeedAttributeType c : FeedAttributeType.values()) System.out.println(c);
public static FeedAttributeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static FeedAttributeType fromValue(String v)
Copyright © 2023. All rights reserved.