Package no.nsd.qddt.domain.elementref
Enum ElementKind
- java.lang.Object
-
- java.lang.Enum<ElementKind>
-
- no.nsd.qddt.domain.elementref.ElementKind
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ElementKind>
public enum ElementKind extends java.lang.Enum<ElementKind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CATEGORYCONCEPTCONDITION_CONSTRUCTCONTROL_CONSTRUCTINSTRUCTIONINSTRUMENTPUBLICATIONQUESTION_CONSTRUCTQUESTION_ITEMRESPONSEDOMAINSEQUENCE_CONSTRUCTSTATEMENT_CONSTRUCTSTUDYSURVEY_PROGRAMTOPIC_GROUPUNIVERSE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClassName()java.lang.StringgetDescription()static ElementKindgetEnum(java.lang.String className)static ElementKindvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ElementKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SURVEY_PROGRAM
public static final ElementKind SURVEY_PROGRAM
-
STUDY
public static final ElementKind STUDY
-
TOPIC_GROUP
public static final ElementKind TOPIC_GROUP
-
CONCEPT
public static final ElementKind CONCEPT
-
QUESTION_ITEM
public static final ElementKind QUESTION_ITEM
-
RESPONSEDOMAIN
public static final ElementKind RESPONSEDOMAIN
-
CATEGORY
public static final ElementKind CATEGORY
-
INSTRUMENT
public static final ElementKind INSTRUMENT
-
PUBLICATION
public static final ElementKind PUBLICATION
-
CONTROL_CONSTRUCT
public static final ElementKind CONTROL_CONSTRUCT
-
QUESTION_CONSTRUCT
public static final ElementKind QUESTION_CONSTRUCT
-
STATEMENT_CONSTRUCT
public static final ElementKind STATEMENT_CONSTRUCT
-
CONDITION_CONSTRUCT
public static final ElementKind CONDITION_CONSTRUCT
-
SEQUENCE_CONSTRUCT
public static final ElementKind SEQUENCE_CONSTRUCT
-
INSTRUCTION
public static final ElementKind INSTRUCTION
-
UNIVERSE
public static final ElementKind UNIVERSE
-
-
Method Detail
-
values
public static ElementKind[] 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 (ElementKind c : ElementKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ElementKind valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getDescription
public java.lang.String getDescription()
-
getClassName
public java.lang.String getClassName()
-
getEnum
public static ElementKind getEnum(java.lang.String className)
-
-