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