public static class Operations.SetValue extends 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.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isMultivalued |
protected PropertyId |
propertyId |
protected QValue[] |
values |
| Constructor and Description |
|---|
Operations.SetValue(PropertyId propertyId,
QValue value)
Create a new set-value
Operation for the given arguments. |
Operations.SetValue(PropertyId propertyId,
QValue[] values)
Create a new set-value
Operation for the given arguments. |
protected final PropertyId propertyId
protected final QValue[] values
protected final boolean isMultivalued
public Operations.SetValue(PropertyId propertyId, QValue value)
Operation for the given arguments.propertyId - value - Batch.setValue(PropertyId, QValue)public Operations.SetValue(PropertyId propertyId, QValue[] values)
Operation for the given arguments.propertyId - values - Batch.setValue(PropertyId, QValue[])public void apply(Batch batch) throws javax.jcr.RepositoryException
Batchpublic boolean equals(Operations.SetValue other)
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.