public class ReferenceShiftedOperation extends AbstractOperation<Void>
| 限定符和类型 | 字段和说明 |
|---|---|
boolean |
canBeDeleted |
int |
newIndex |
int |
oldIndex |
String |
referencedObjectId |
static int |
TYPE |
id, type| 构造器和说明 |
|---|
ReferenceShiftedOperation(String id,
String referencedObjectId,
int newIndex,
boolean canBeDeleted,
int oldIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
apply(Void target)
Applies this operation to the given target
|
ReferenceShiftedOperation |
invert() |
static ReferenceShiftedOperation |
parse(elemental.json.JsonArray serialized) |
protected void |
toString(StringBuilder sb) |
ReferenceShiftedOperation[] |
transformWith(AbstractOperation<Void> operation,
boolean arrivedAfter) |
asArray, equals, hashCode, isSameId, parseId, toString, transformWithpublic static final int TYPE
public final String referencedObjectId
public final int newIndex
public final boolean canBeDeleted
public final int oldIndex
public static ReferenceShiftedOperation parse(elemental.json.JsonArray serialized)
public void apply(Void target)
Operationtarget - target on which this operation applies itselfpublic ReferenceShiftedOperation invert()
public ReferenceShiftedOperation[] transformWith(AbstractOperation<Void> operation, boolean arrivedAfter)
transformWith 在类中 AbstractOperation<Void>arrivedAfter - Whether this operation reaches the server after operation.protected void toString(StringBuilder sb)
toString 在类中 AbstractOperation<Void>Copyright © 2013. All Rights Reserved.