public static class Operations.SetMixins extends Object implements Operation
Operation
which calls
Batch.setMixins(NodeId, Name[])
when applied to a Batch
.Modifier and Type | Field and Description |
---|---|
protected Name[] |
mixinNodeTypeNames |
protected NodeId |
nodeId |
Constructor and Description |
---|
SetMixins(NodeId nodeId,
Name[] mixinNodeTypeNames)
Create a new set-mixin
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.SetMixins other) |
int |
hashCode() |
String |
toString() |
protected final NodeId nodeId
protected final Name[] mixinNodeTypeNames
public SetMixins(NodeId nodeId, Name[] mixinNodeTypeNames)
Operation
for the given arguments.nodeId
- mixinNodeTypeNames
- Batch.setMixins(NodeId, Name[])
public void apply(Batch batch) throws RepositoryException
Batch
apply
in interface Operation
RepositoryException
public boolean equals(Operations.SetMixins other)
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.