public class BatchUpdate extends Object
Constructor and Description |
---|
BatchUpdate() |
Modifier and Type | Method and Description |
---|---|
Condition |
getCondition()
Retrieves the condition which items we want to update must satisfy.
|
String |
getPropertyName()
Retrieves the property name which value needs to be updated.
|
Object |
getPropertyValue()
Retrieves the new property value.
|
String |
getStrategy()
Retrieves the identifier for the
PropertyMergeStrategyType to use during the update if needed. |
void |
setCondition(Condition condition)
Specifies the condition which items to update.
|
void |
setPropertyName(String propertyName)
Specifies (as an Apache Commons BeanUtils expression) which property needs to be updated.
|
void |
setPropertyValue(Object propertyValue)
Sets the new property value to use for the update.
|
void |
setStrategy(String strategy)
Sets the identifier for the
PropertyMergeStrategyType to use during the update if needed. |
public String getPropertyName()
public void setPropertyName(String propertyName)
propertyName
- an Apache Commons BeanUtils expression identifying which property we want to updatepublic Object getPropertyValue()
public void setPropertyValue(Object propertyValue)
propertyValue
- the new property value to use for the updatepublic Condition getCondition()
public void setCondition(Condition condition)
condition
- the condition specifying which items to updatepublic String getStrategy()
PropertyMergeStrategyType
to use during the update if needed.PropertyMergeStrategyType
to use during the update if neededpublic void setStrategy(String strategy)
PropertyMergeStrategyType
to use during the update if needed.strategy
- the identifier for the PropertyMergeStrategyType
to use during the update if neededCopyright © 2014–2022 Apache Software Foundation. All rights reserved.