Enum VertexProperty.Cardinality
- java.lang.Object
-
- java.lang.Enum<VertexProperty.Cardinality>
-
- org.apache.tinkerpop.gremlin.structure.VertexProperty.Cardinality
-
- All Implemented Interfaces:
Serializable
,Comparable<VertexProperty.Cardinality>
- Enclosing interface:
- VertexProperty<V>
public static enum VertexProperty.Cardinality extends Enum<VertexProperty.Cardinality>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.tinkerpop.gremlin.process.traversal.lambda.CardinalityValueTraversal
list(Object value)
static org.apache.tinkerpop.gremlin.process.traversal.lambda.CardinalityValueTraversal
set(Object value)
static org.apache.tinkerpop.gremlin.process.traversal.lambda.CardinalityValueTraversal
single(Object value)
static VertexProperty.Cardinality
valueOf(String name)
Returns the enum constant of this type with the specified name.static VertexProperty.Cardinality[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
single
public static final VertexProperty.Cardinality single
-
list
public static final VertexProperty.Cardinality list
-
set
public static final VertexProperty.Cardinality set
-
-
Method Detail
-
values
public static VertexProperty.Cardinality[] 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 (VertexProperty.Cardinality c : VertexProperty.Cardinality.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VertexProperty.Cardinality 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
-
single
public static org.apache.tinkerpop.gremlin.process.traversal.lambda.CardinalityValueTraversal single(Object value)
-
list
public static org.apache.tinkerpop.gremlin.process.traversal.lambda.CardinalityValueTraversal list(Object value)
-
set
public static org.apache.tinkerpop.gremlin.process.traversal.lambda.CardinalityValueTraversal set(Object value)
-
-