|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ItemVariableType>
org.qtitools.qti.node.result.ItemVariableType
public enum ItemVariableType
This class creates all supported item variables from given CLASS_TAG.
| Enum Constant Summary | |
|---|---|
OUTCOME_VARIABLE
Creates outcomeVariable. |
|
RESPONSE_VARIABLE
Creates responseVariable. |
|
TEMPLATE_VARIABLE
Creates templateVariable. |
|
| Method Summary | |
|---|---|
abstract ItemVariable |
create(AbstractResult parent)
Creates itemVariable. |
static ItemVariable |
getInstance(AbstractResult parent,
java.lang.String classTag)
Creates itemVariable. |
java.lang.String |
toString()
|
static ItemVariableType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ItemVariableType[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ItemVariableType OUTCOME_VARIABLE
public static final ItemVariableType RESPONSE_VARIABLE
public static final ItemVariableType TEMPLATE_VARIABLE
| Method Detail |
|---|
public static final ItemVariableType[] values()
for(ItemVariableType c : ItemVariableType.values())
System.out.println(c);
public static ItemVariableType 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 abstract ItemVariable create(AbstractResult parent)
parent - parent of created itemVariable
public java.lang.String toString()
toString in class java.lang.Enum<ItemVariableType>
public static ItemVariable getInstance(AbstractResult parent,
java.lang.String classTag)
parent - parent of created itemVariableclassTag - CLASS_TAG of created itemVariable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||