public final class Operation extends Object
Authorization| Modifier and Type | Field and Description |
|---|---|
static Operation |
CHANGE_CONTEXT
Identifier for change context operation, which is used when changing the context of a node
|
static int |
CHANGE_CONTEXT_INT
int value for change context operation
|
static Operation |
CHANGE_RELATION
Identifier for changing the source and/or destination field of a
relation.
|
static int |
CHANGE_RELATION_INT
int value for the change relation Operation
|
static int |
CHANGECONTEXT_INT
Deprecated.
use CHANGE_CONTEXT_INT
|
static Operation |
CREATE
Identifier for create operation, which is used for creating a new node.
|
static int |
CREATE_INT
int value for the create Operation
|
static Operation |
DELETE
Identifier for remove operation, which is used when removing a node
|
static int |
DELETE_INT
int value for the remove Operation
|
static Operation |
READ
A 'read' operation is acquiring an MMBase Node.
|
static int |
READ_INT
int value for the read Operation
|
static Operation |
WRITE
Node.setValue(String, Object) is an example of a write-operation. |
static int |
WRITE_INT
int value for the write Operation
|
| Modifier and Type | Method and Description |
|---|---|
int |
getInt()
This method gives back the internal int value of the Operation,
which can be used in switch statements
|
static Operation |
getOperation(String operationString)
retrieve a Operation by a given string
|
String |
toString() |
public static final int READ_INT
public static final int WRITE_INT
public static final int CREATE_INT
public static final int CHANGE_RELATION_INT
public static final int DELETE_INT
public static final int CHANGE_CONTEXT_INT
public static final int CHANGECONTEXT_INT
public static final Operation READ
Node means that youpublic static final Operation WRITE
Node.setValue(String, Object) is an example of a write-operation.public static final Operation CREATE
public static final Operation CHANGE_RELATION
public static final Operation DELETE
public static final Operation CHANGE_CONTEXT
public int getInt()
public String toString()
public static Operation getOperation(String operationString)
operationString - the toString()MMBase 1.9-SNAPSHOT - ${javadoctimestamp}