public static enum VariableScopes.Direction extends Enum<VariableScopes.Direction>
| Enum Constant and Description |
|---|
INSTANCEOF
instance
|
SUBCLASSOF
subclass
|
SUBPROPERTYOF
subproperty
|
SUPERCLASSOF
superclass
|
SUPERPROPERTYOF
superproperty
|
| Modifier and Type | Method and Description |
|---|---|
static VariableScopes.Direction |
getDirection(String direction)
Parser the input String and returns the corresponding Direction.
|
String |
toString() |
static VariableScopes.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VariableScopes.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariableScopes.Direction SUBCLASSOF
public static final VariableScopes.Direction SUPERCLASSOF
public static final VariableScopes.Direction SUBPROPERTYOF
public static final VariableScopes.Direction SUPERPROPERTYOF
public static final VariableScopes.Direction INSTANCEOF
public static VariableScopes.Direction[] values()
for (VariableScopes.Direction c : VariableScopes.Direction.values()) System.out.println(c);
public static VariableScopes.Direction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static VariableScopes.Direction getDirection(String direction)
null is returned. The method is case insensitive.direction - directionpublic String toString()
toString in class Enum<VariableScopes.Direction>Copyright © 2015 The University of Manchester. All Rights Reserved.