Package science.aist.neo4j.reflective
Enum ClassInformation.Neo4JType
- java.lang.Object
-
- java.lang.Enum<ClassInformation.Neo4JType>
-
- science.aist.neo4j.reflective.ClassInformation.Neo4JType
-
- All Implemented Interfaces:
Serializable
,Comparable<ClassInformation.Neo4JType>
- Enclosing class:
- ClassInformation
public static enum ClassInformation.Neo4JType extends Enum<ClassInformation.Neo4JType>
Type of neo4J instance, Can be either a Node, or a Relationship. If Undefined is selected the type always defaults to Node- Author:
- Oliver Krauss .
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NODE
RELATIONSHIP
UNDEFINED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClassInformation.Neo4JType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ClassInformation.Neo4JType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NODE
public static final ClassInformation.Neo4JType NODE
-
RELATIONSHIP
public static final ClassInformation.Neo4JType RELATIONSHIP
-
UNDEFINED
public static final ClassInformation.Neo4JType UNDEFINED
-
-
Method Detail
-
values
public static ClassInformation.Neo4JType[] 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 (ClassInformation.Neo4JType c : ClassInformation.Neo4JType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClassInformation.Neo4JType 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
-
-