Enum QueryHelper.ObjectToReturn
- java.lang.Object
-
- java.lang.Enum<QueryHelper.ObjectToReturn>
-
- org.ametys.plugins.queriesdirectory.QueryHelper.ObjectToReturn
-
- All Implemented Interfaces:
Serializable
,Comparable<QueryHelper.ObjectToReturn>
- Enclosing class:
- QueryHelper
private static enum QueryHelper.ObjectToReturn extends Enum<QueryHelper.ObjectToReturn>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description QUERY
QUERY_CONTAINER
-
Constructor Summary
Constructors Modifier Constructor Description private
ObjectToReturn()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) String
toNodetype()
static QueryHelper.ObjectToReturn
valueOf(String name)
Returns the enum constant of this type with the specified name.static QueryHelper.ObjectToReturn[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUERY
public static final QueryHelper.ObjectToReturn QUERY
-
QUERY_CONTAINER
public static final QueryHelper.ObjectToReturn QUERY_CONTAINER
-
-
Constructor Detail
-
ObjectToReturn
private ObjectToReturn()
-
-
Method Detail
-
values
public static QueryHelper.ObjectToReturn[] 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 (QueryHelper.ObjectToReturn c : QueryHelper.ObjectToReturn.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueryHelper.ObjectToReturn 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
-
toNodetype
String toNodetype()
-
-