public static class Operations.AddNode extends Object implements Operation
Operation
which calls
Batch.addNode(NodeId, Name, Name, String)
when applied to a Batch
.Modifier and Type | Field and Description |
---|---|
protected Name |
nodeName |
protected Name |
nodetypeName |
protected NodeId |
parentId |
protected String |
uuid |
Constructor and Description |
---|
AddNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
String uuid)
Create a new add-node
Operation for the given arguments. |
Modifier and Type | Method and Description |
---|---|
void |
apply(Batch batch)
Apply this operation to the given
Batch |
boolean |
equals(Object other) |
boolean |
equals(Operations.AddNode other) |
int |
hashCode() |
String |
toString() |
protected final NodeId parentId
protected final Name nodeName
protected final Name nodetypeName
protected final String uuid
public void apply(Batch batch) throws RepositoryException
Batch
apply
in interface Operation
RepositoryException
public boolean equals(Operations.AddNode other)
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.