Package com.adobe.aco.model
Enum FeedMetadata.VisibleInEnum
- java.lang.Object
-
- java.lang.Enum<FeedMetadata.VisibleInEnum>
-
- com.adobe.aco.model.FeedMetadata.VisibleInEnum
-
- All Implemented Interfaces:
Serializable,Comparable<FeedMetadata.VisibleInEnum>
- Enclosing class:
- FeedMetadata
public static enum FeedMetadata.VisibleInEnum extends Enum<FeedMetadata.VisibleInEnum>
Gets or Sets visibleIn
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFeedMetadata.VisibleInEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description PRODUCT_COMPAREPRODUCT_DETAILPRODUCT_LISTINGSEARCH_RESULTS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FeedMetadata.VisibleInEnumfromValue(String value)StringgetValue()StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)static FeedMetadata.VisibleInEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static FeedMetadata.VisibleInEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRODUCT_DETAIL
public static final FeedMetadata.VisibleInEnum PRODUCT_DETAIL
-
PRODUCT_LISTING
public static final FeedMetadata.VisibleInEnum PRODUCT_LISTING
-
SEARCH_RESULTS
public static final FeedMetadata.VisibleInEnum SEARCH_RESULTS
-
PRODUCT_COMPARE
public static final FeedMetadata.VisibleInEnum PRODUCT_COMPARE
-
-
Method Detail
-
values
public static FeedMetadata.VisibleInEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FeedMetadata.VisibleInEnum c : FeedMetadata.VisibleInEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FeedMetadata.VisibleInEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<FeedMetadata.VisibleInEnum>
-
fromValue
public static FeedMetadata.VisibleInEnum fromValue(String value)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException- Throws:
IOException
-
-