public static enum EventStrategy.Detachment extends Enum<EventStrategy.Detachment> implements EventStrategy.Detacher
Enum Constant and Description |
---|
DETACHED_NO_PROPERTIES
Uses
DetachedFactory to detach and does not include properties of elements that have them. |
DETACHED_WITH_PROPERTIES
Uses
DetachedFactory to detach and includes properties of elements that have them. |
NONE
Does not detach the element from the graph.
|
REFERENCE
Uses
ReferenceFactory to detach which only includes id and label of elements. |
Modifier and Type | Method and Description |
---|---|
static EventStrategy.Detachment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventStrategy.Detachment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
detach
public static final EventStrategy.Detachment NONE
commit()
is called.public static final EventStrategy.Detachment DETACHED_WITH_PROPERTIES
DetachedFactory
to detach and includes properties of elements that have them.public static final EventStrategy.Detachment DETACHED_NO_PROPERTIES
DetachedFactory
to detach and does not include properties of elements that have them.public static final EventStrategy.Detachment REFERENCE
ReferenceFactory
to detach which only includes id and label of elements.public static EventStrategy.Detachment[] values()
for (EventStrategy.Detachment c : EventStrategy.Detachment.values()) System.out.println(c);
public static EventStrategy.Detachment 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 nullCopyright © 2013–2022 Apache Software Foundation. All rights reserved.