Package com.dnanexus
Enum DXSearch.VisibilityQuery
- java.lang.Object
-
- java.lang.Enum<DXSearch.VisibilityQuery>
-
- com.dnanexus.DXSearch.VisibilityQuery
-
- All Implemented Interfaces:
Serializable,Comparable<DXSearch.VisibilityQuery>
- Enclosing class:
- DXSearch
public static enum DXSearch.VisibilityQuery extends Enum<DXSearch.VisibilityQuery>
Specifies in a query whether to return visible items, hidden items, or both.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DXSearch.VisibilityQueryvalueOf(String name)Returns the enum constant of this type with the specified name.static DXSearch.VisibilityQuery[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VISIBLE
public static final DXSearch.VisibilityQuery VISIBLE
Search for only visible items.
-
HIDDEN
public static final DXSearch.VisibilityQuery HIDDEN
Search for only hidden items.
-
EITHER
public static final DXSearch.VisibilityQuery EITHER
Search for both hidden and visible items.
-
-
Method Detail
-
values
public static DXSearch.VisibilityQuery[] 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 (DXSearch.VisibilityQuery c : DXSearch.VisibilityQuery.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DXSearch.VisibilityQuery 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
-
-