public static class Operations.SetValue extends java.lang.Object implements Operation
Operation which calls
Batch.setValue(PropertyId, QValue) or Batch.setValue(PropertyId, QValue[])
depending on whether the property is multi valued or not when applied to a Batch.| Constructor and Description |
|---|
SetValue(PropertyId propertyId,
QValue value)
Create a new set-value
Operation for the given arguments. |
SetValue(PropertyId propertyId,
QValue[] values)
Create a new set-value
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.SetValue other) |
int |
hashCode() |
java.lang.String |
toString() |
public SetValue(PropertyId propertyId, QValue value)
Operation for the given arguments.propertyId - value - Batch.setValue(PropertyId, QValue)public SetValue(PropertyId propertyId, QValue[] values)
Operation for the given arguments.propertyId - values - Batch.setValue(PropertyId, QValue[])public void apply(Batch batch) throws RepositoryException
Batchapply in interface OperationRepositoryExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic boolean equals(Operations.SetValue other)
public int hashCode()
hashCode in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved