|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QueryType>
edu.umich.eecs.tac.props.QueryType
public enum QueryType
This enumeration defined the possible query types.
FOCUS_LEVEL_ZERO
- specifies neither the manufacturer nor
the componentFOCUS_LEVEL_ONE
- specifies either the manufacturer or the
component, but not bothFOCUS_LEVEL_TWO
- specifies both the manufacturer or the
component
Enum Constant Summary | |
---|---|
FOCUS_LEVEL_ONE
Focus level whose queries specifies either the manufacturer or the component, but not both. |
|
FOCUS_LEVEL_TWO
Focus level whose queries specifies specifies both the manufacturer or the component. |
|
FOCUS_LEVEL_ZERO
Focus level whose queries specifies neither the manufacturer nor the component. |
Method Summary | |
---|---|
static QueryType |
value(Query query)
Returns the query type of the given query. |
static QueryType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QueryType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QueryType FOCUS_LEVEL_ZERO
public static final QueryType FOCUS_LEVEL_ONE
public static final QueryType FOCUS_LEVEL_TWO
Method Detail |
---|
public static final QueryType[] values()
for(QueryType c : QueryType.values()) System.out.println(c);
public static QueryType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static QueryType value(Query query)
query
- the query whose type is to be determined.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |