|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<IteratorKind> org.eclipse.emf.query.statements.IteratorKind
public enum IteratorKind
An enumeration of iteration methodologies for EObjects.
Enum Constant Summary | |
---|---|
FLAT_LITERAL
Iterate in a "flat" fashion without traversing the contents of the EObjects. |
|
HIERARCHICAL_LITERAL
Iterate in a "hierarchical" fashion traversing the containment subtree of each EObject. |
Field Summary | |
---|---|
static int |
FLAT
|
static int |
HIERARCHICAL
|
static List<IteratorKind> |
VALUES
|
Method Summary | |
---|---|
static IteratorKind |
get(int val)
|
static IteratorKind |
get(String name)
|
String |
getLiteral()
|
String |
getName()
|
static int |
getTotalCount()
|
int |
getValue()
|
static IteratorKind |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IteratorKind[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IteratorKind FLAT_LITERAL
public static final IteratorKind HIERARCHICAL_LITERAL
Field Detail |
---|
public static final int FLAT
public static final int HIERARCHICAL
public static final List<IteratorKind> VALUES
Method Detail |
---|
public static final IteratorKind[] values()
for(IteratorKind c : IteratorKind.values()) System.out.println(c);
public static IteratorKind valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static IteratorKind get(int val)
public static IteratorKind get(String name)
public static int getTotalCount()
public String getLiteral()
getLiteral
in interface Enumerator
public String getName()
getName
in interface Enumerator
public int getValue()
getValue
in interface Enumerator
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |