public static class ConsolidatingChangeLog.CancelableOperations.AddProperty extends Operations.AddProperty implements ConsolidatingChangeLog.CancelableOperation
isMultivalued, parentId, propertyName, valuesCANCEL_BOTH, CANCEL_NONE, CANCEL_OTHER, CANCEL_THIS| Constructor and Description |
|---|
AddProperty(NodeId parentId,
Name propertyName,
QValue value) |
AddProperty(NodeId parentId,
Name propertyName,
QValue[] values) |
| Modifier and Type | Method and Description |
|---|---|
int |
cancel(ConsolidatingChangeLog.CancelableOperation other)
Determines the cancellation behavior of the
other operation
on this operation. |
apply, equals, equals, hashCode, toStringpublic int cancel(ConsolidatingChangeLog.CancelableOperation other) throws RepositoryException
ConsolidatingChangeLog.CancelableOperationother operation
on this operation.cancel in interface ConsolidatingChangeLog.CancelableOperationCANCEL_BOTH if
other is an instance of
Remove and has this property as
target or if other is an instance of
SetValue for a value of
null and has this property as target.CANCEL_THIS if
other is an instance of
Remove and has a node higher up
the hierarchy as target.CANCEL_OTHER if
other is an instance of
SetValue and has this
property as target.CANCEL_NONE otherwise.RepositoryExceptionCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.