|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Variable.Scope> org.apache.torque.generator.variable.Variable.Scope
public static enum Variable.Scope
The scope of a variable.
Enum Constant Summary | |
---|---|
CHILDREN
The scope of the variable is the current outlet and recursively all the outlets in the merge points accessed in the generation process. |
|
FILE
The variable is visible throughout the generation process of this file. |
|
GLOBAL
The variable is visible throughout the whole generation process. |
|
OUTLET
The scope of the variable is limited to the current outlet. |
Method Summary | |
---|---|
static Variable.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Variable.Scope[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Variable.Scope OUTLET
public static final Variable.Scope CHILDREN
public static final Variable.Scope FILE
public static final Variable.Scope GLOBAL
Method Detail |
---|
public static Variable.Scope[] values()
for (Variable.Scope c : Variable.Scope.values()) System.out.println(c);
public static Variable.Scope valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |