public class NedEditOp extends Object
Modifier and Type | Field and Description |
---|---|
static int |
AFTER |
static int |
ATTR_DEL |
static int |
ATTR_SET |
static int |
CREATED |
static int |
DEFAULT_SET |
static int |
DELETED |
static int |
FIRST |
static int |
MODIFIED |
static int |
MOVED |
boolean |
op_done |
static int |
VALUE_SET |
Constructor and Description |
---|
NedEditOp(ConfETuple t) |
Modifier and Type | Method and Description |
---|---|
int |
getMoveDestination()
Returns the absolute or relative destination of a move operation.
|
boolean |
getOpDone() |
int |
getOperation() |
ConfPath |
getPath() |
ConfObject |
getValue()
Returns the value used in this operation.
|
void |
setOpDone() |
String |
toString() |
public static final int CREATED
public static final int DELETED
public static final int MOVED
public static final int MODIFIED
public static final int VALUE_SET
public static final int DEFAULT_SET
public static final int ATTR_SET
public static final int ATTR_DEL
public static final int FIRST
public static final int AFTER
public boolean op_done
public NedEditOp(ConfETuple t)
public ConfObject getValue()
NedEditOp.getMoveDestination()
,
specifies the destination of the moved element.public int getMoveDestination() throws NedException
NedEditOp.getValue()
. The two
possible return values are NedEditOp.FIRST
and NedEditOp.AFTER
.
For a non-move operation, this method will always return -1.NedException
public int getOperation()
public void setOpDone()
public boolean getOpDone()
public ConfPath getPath()