public enum QuadAction extends Enum<QuadAction>
QuadAction is record of a type of change to a DatasetGraph.
DatasetGraph are sets of quads.
An add only affects the state of the DatasetGraph
if a quad of the same value was not present,
and a delete only affects the state of the DatasetGraph
if a quad was present.
A QuadAction can be an ADD or DELETE, indicating a change
to the DatasetGraph actually occured (this assumes checking is done -
DatasetChanges generators may not check - see implementation for details).
Otherwise a NO_ADD, NO_DELETE QuadAction is used.
| Modifier and Type | Method and Description |
|---|---|
static QuadAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuadAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuadAction ADD
public static final QuadAction DELETE
public static final QuadAction NO_ADD
public static final QuadAction NO_DELETE
public final String label
public static QuadAction[] values()
for (QuadAction c : QuadAction.values()) System.out.println(c);
public static QuadAction 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 nullLicenced under the Apache License, Version 2.0