Enum EQueryDefinition
- java.lang.Object
-
- java.lang.Enum<EQueryDefinition>
-
- eu.toop.playground.dc.ui.model.enums.EQueryDefinition
-
- All Implemented Interfaces:
Serializable,Comparable<EQueryDefinition>
public enum EQueryDefinition extends Enum<EQueryDefinition>
- Author:
- Maria Siapera [mariaspr at unipi.gr]
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONCEPTDOCUMENTDOCUMENT_REF
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetQueryDefinition()voidsetQueryDefinition(String queryDefinition)static EQueryDefinitionvalueOf(String name)Returns the enum constant of this type with the specified name.static EQueryDefinition[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONCEPT
public static final EQueryDefinition CONCEPT
-
DOCUMENT
public static final EQueryDefinition DOCUMENT
-
DOCUMENT_REF
public static final EQueryDefinition DOCUMENT_REF
-
-
Method Detail
-
values
public static EQueryDefinition[] 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 (EQueryDefinition c : EQueryDefinition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EQueryDefinition 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
-
getQueryDefinition
public String getQueryDefinition()
-
setQueryDefinition
public void setQueryDefinition(String queryDefinition)
-
-