|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ConnectionMode> i3.dragos.gm.core.ConnectionMode
public enum ConnectionMode
The ConnectionMode
enum is used to select which edges or
relations should be retrieved.
The sole purpose of this interface is to unify a couple of methods in
GraphEntity
and keeps the interface clean and
simple.
GraphEntity
Enum Constant Summary | |
---|---|
ANY_NOSET
All incident edges / relation ends of a graph element. |
|
ANY_SET
All incident edges / relation ends of a graph element. |
|
DIRECTED_INCOMING
All incoming directed edges / relation ends of a graph element. |
|
DIRECTED_NOSET
All directed edges / relation ends of a graph element. |
|
DIRECTED_OUTGOING
All outgoing directed edges / relation ends of a graph element. |
|
DIRECTED_SET
All directed edges / relation ends of a graph element. |
|
UNDIRECTED_NOSET
All undirected edges / relation ends of a graph element. |
|
UNDIRECTED_SET
All undirected edges / relation ends of a graph element. |
Method Summary | |
---|---|
abstract boolean |
isSet()
Determines whether this connection mode yields a set- or nonset collection. |
static ConnectionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ConnectionMode[] |
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 ConnectionMode ANY_NOSET
public static final ConnectionMode ANY_SET
Set
).
public static final ConnectionMode DIRECTED_NOSET
public static final ConnectionMode DIRECTED_SET
Set
).
public static final ConnectionMode UNDIRECTED_NOSET
public static final ConnectionMode UNDIRECTED_SET
Set
).
public static final ConnectionMode DIRECTED_INCOMING
public static final ConnectionMode DIRECTED_OUTGOING
Method Detail |
---|
public static ConnectionMode[] values()
for (ConnectionMode c : ConnectionMode.values()) System.out.println(c);
public static ConnectionMode 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 name
java.lang.NullPointerException
- if the argument is nullpublic abstract boolean isSet()
true
if this ConnectionMode
behaves like
Set
, false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |