Package com.oracle.bmc.datacatalog.model
Enum FacetedSearchSortRequest.SortOrder
- java.lang.Object
-
- java.lang.Enum<FacetedSearchSortRequest.SortOrder>
-
- com.oracle.bmc.datacatalog.model.FacetedSearchSortRequest.SortOrder
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<FacetedSearchSortRequest.SortOrder>
- Enclosing class:
- FacetedSearchSortRequest
public static enum FacetedSearchSortRequest.SortOrder extends Enum<FacetedSearchSortRequest.SortOrder> implements BmcEnum
Sort order for search results.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FacetedSearchSortRequest.SortOrder
create(String key)
String
getValue()
static FacetedSearchSortRequest.SortOrder
valueOf(String name)
Returns the enum constant of this type with the specified name.static FacetedSearchSortRequest.SortOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Asc
public static final FacetedSearchSortRequest.SortOrder Asc
-
Desc
public static final FacetedSearchSortRequest.SortOrder Desc
-
-
Method Detail
-
values
public static FacetedSearchSortRequest.SortOrder[] 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 (FacetedSearchSortRequest.SortOrder c : FacetedSearchSortRequest.SortOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FacetedSearchSortRequest.SortOrder 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
-
create
public static FacetedSearchSortRequest.SortOrder create(String key)
-
-