Package science.aist.neo4j.reflective
Enum RelationshipInformation.Direction
- java.lang.Object
-
- java.lang.Enum<RelationshipInformation.Direction>
-
- science.aist.neo4j.reflective.RelationshipInformation.Direction
-
- All Implemented Interfaces:
Serializable
,Comparable<RelationshipInformation.Direction>
- Enclosing class:
- RelationshipInformation
public static enum RelationshipInformation.Direction extends Enum<RelationshipInformation.Direction>
The direction of the relationship. Note that Neo4J only supports directed relationships. Undirected will default to OUTGOING from the class that is defining the field.- Author:
- Oliver Krauss .
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INCOMING
OUTGOING
UNDIRECTED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getVal()
static RelationshipInformation.Direction
valueOf(String name)
Returns the enum constant of this type with the specified name.static RelationshipInformation.Direction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCOMING
public static final RelationshipInformation.Direction INCOMING
-
OUTGOING
public static final RelationshipInformation.Direction OUTGOING
-
UNDIRECTED
public static final RelationshipInformation.Direction UNDIRECTED
-
-
Method Detail
-
values
public static RelationshipInformation.Direction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RelationshipInformation.Direction c : RelationshipInformation.Direction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelationshipInformation.Direction valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getVal
public String getVal()
- Returns:
- the numeric value of the enumerable
-
-