/** * {@inheritDoc} * * @see java.lang.Object#equals(java.lang.Object) */ @Override public boolean equals( Object obj ) { if (obj == this) return true; if (this.getClass().isInstance(obj)) { CreateNodeRequest that = (CreateNodeRequest)obj; if (!this.under().isSame(that.under())) return false; if (!this.conflictBehavior().equals(that.conflictBehavior())) return false; if (!this.inWorkspace().equals(that.conflictBehavior())) return false; if (!this.properties().equals(that.properties())) return false; return true; } return false; }
switch (conflictBehavior()) { case APPEND: sb.append(" by appending");
switch (request.conflictBehavior()) { case APPEND: node = txn.addChild(workspace, parentNode, request.named(), -1, uuid, propsToStore);
switch (request.conflictBehavior()) { case APPEND: node = workspace.createNode(getExecutionContext(), parentNode, request.named(), uuid, propsToStore);
NodeConflictBehavior conflictBehavior = request.conflictBehavior(); switch (conflictBehavior) { case APPEND:
request.named(), request.conflictBehavior(), request.properties()); federatedRequest.add(pushDownRequest, proxy.isSameLocationAsOriginal(), false, proxy.projection()); switch (request.conflictBehavior()) { case UPDATE: case DO_NOT_REPLACE: