public enum RestDirection extends Enum<RestDirection>
Modifier and Type | Field and Description |
---|---|
org.neo4j.graphdb.Direction |
direction |
String |
longName |
String |
shortName |
Modifier and Type | Method and Description |
---|---|
static RestDirection |
from(org.neo4j.graphdb.Direction direction) |
static RestDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestDirection INCOMING
public static final RestDirection OUTGOING
public static final RestDirection BOTH
public final org.neo4j.graphdb.Direction direction
public final String longName
public final String shortName
public static RestDirection[] values()
for (RestDirection c : RestDirection.values()) System.out.println(c);
public static RestDirection 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 RestDirection from(org.neo4j.graphdb.Direction direction)
Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.