public enum OnMissingVertex extends java.lang.Enum<OnMissingVertex>
Enum Constant and Description |
---|
CREATE_VERTEX
create the missing vertex
|
ERROR
throw an exception
|
IGNORE_EDGE
ignore the loaded edge
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toKey() |
static OnMissingVertex |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OnMissingVertex[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final OnMissingVertex CREATE_VERTEX
public static final OnMissingVertex ERROR
public static final OnMissingVertex IGNORE_EDGE
public java.lang.String toKey()
public static OnMissingVertex 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 namejava.lang.NullPointerException
- if the argument is nullpublic static OnMissingVertex[] values()
for (OnMissingVertex c : OnMissingVertex.values()) System.out.println(c);
Copyright © 2016, 2018 Oracle and/or its affiliates. All Rights Reserved.