+ public boolean isChange() {
+ return isAdd() || isDelete();
+ }
+
+ /**
+ * Should given operation to be applied before this operation.
+ * @param op
+ * @return
+ */
+ public boolean requiresOp(UpdateOp op) {
+ return false;
+ }
+
+ /**
+ * Should selection state to be propagated to given op.
+ * @param op parent or sub op of this.
+ * @param select selection flag.
+ * @return
+ */
+ public boolean selectOp(UpdateOp op, boolean select) {
+ return requiresOp(op);
+ }