Class Operations.AddProperty
- java.lang.Object
- 
- org.apache.jackrabbit.spi.commons.batch.Operations.AddProperty
 
- 
- All Implemented Interfaces:
- Operation
 - Direct Known Subclasses:
- ConsolidatingChangeLog.CancelableOperations.AddProperty
 - Enclosing class:
- Operations
 
 public static class Operations.AddProperty extends Object implements Operation Representative of an add-propertyOperationwhich callsBatch.addProperty(NodeId, Name, QValue)orBatch.addProperty(NodeId, Name, QValue[])depending on whether the property is multi valued or not when applied to aBatch.
- 
- 
Field SummaryFields Modifier and Type Field Description protected booleanisMultivaluedprotected NodeIdparentIdprotected NamepropertyNameprotected QValue[]values
 - 
Constructor SummaryConstructors Constructor Description AddProperty(NodeId parentId, Name propertyName, QValue value)Create a new add-propertyOperationfor the given arguments.AddProperty(NodeId parentId, Name propertyName, QValue[] values)Create a new add-propertyOperationfor the given arguments.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Batch batch)Apply this operation to the givenBatchbooleanequals(Object other)booleanequals(Operations.AddProperty other)inthashCode()StringtoString()
 
- 
- 
- 
Constructor Detail- 
AddPropertypublic AddProperty(NodeId parentId, Name propertyName, QValue value) Create a new add-propertyOperationfor the given arguments.- Parameters:
- parentId-
- propertyName-
- value-
- See Also:
- Batch.addProperty(NodeId, Name, QValue)
 
 - 
AddPropertypublic AddProperty(NodeId parentId, Name propertyName, QValue[] values) Create a new add-propertyOperationfor the given arguments.- Parameters:
- parentId-
- propertyName-
- values-
- See Also:
- Batch.addProperty(NodeId, Name, QValue[])
 
 
- 
 - 
Method Detail- 
applypublic void apply(Batch batch) throws RepositoryException Apply this operation to the givenBatch- Specified by:
- applyin interface- Operation
- Throws:
- RepositoryException
 
 - 
equalspublic boolean equals(Operations.AddProperty other) 
 
- 
 
-