public static class Operations.AddProperty extends java.lang.Object implements Operation
Operation
which calls
Batch.addProperty(NodeId, Name, QValue)
or Batch.addProperty(NodeId, Name, QValue[])
depending on whether the property is multi valued or not when applied to a Batch
.Constructor and Description |
---|
AddProperty(NodeId parentId,
Name propertyName,
QValue value)
Create a new add-property
Operation for the given arguments. |
AddProperty(NodeId parentId,
Name propertyName,
QValue[] values)
Create a new add-property
Operation for the given arguments. |
Modifier and Type | Method and Description |
---|---|
void |
apply(Batch batch)
Apply this operation to the given
Batch |
boolean |
equals(java.lang.Object other) |
boolean |
equals(Operations.AddProperty other) |
int |
hashCode() |
java.lang.String |
toString() |
public AddProperty(NodeId parentId, Name propertyName, QValue value)
Operation
for the given arguments.parentId
- propertyName
- value
- Batch.addProperty(NodeId, Name, QValue)
public AddProperty(NodeId parentId, Name propertyName, QValue[] values)
Operation
for the given arguments.parentId
- propertyName
- values
- Batch.addProperty(NodeId, Name, QValue[])
public void apply(Batch batch) throws RepositoryException
Batch
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public boolean equals(Operations.AddProperty other)
public int hashCode()
hashCode
in class java.lang.Object
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"