public static class ConsolidatingChangeLog.CancelableOperations.AddProperty extends Operations.AddProperty implements ConsolidatingChangeLog.CancelableOperation
isMultivalued, parentId, propertyName, values
CANCEL_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, toString
public int cancel(ConsolidatingChangeLog.CancelableOperation other) throws RepositoryException
ConsolidatingChangeLog.CancelableOperation
other
operation
on this operation.cancel
in interface ConsolidatingChangeLog.CancelableOperation
CANCEL_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.RepositoryException
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.