Constructor and Description |
---|
PartialUpdate(Field idField,
String idFieldValue) |
PartialUpdate(String idFieldName,
String idFieldValue) |
Modifier and Type | Method and Description |
---|---|
void |
add(String fieldName,
Object value)
Add field with given name and value to the fields to be updated.
|
void |
add(UpdateField field)
Add
UpdateField to the list of fields to be updated |
void |
addValueToField(String fieldName,
Object value)
Add field with given name and value using
UpateAction.ADD to the fields to be updated. |
ValueHoldingField |
getIdField()
Id name and Value
|
List<UpdateField> |
getUpdates()
List of fields and values to for update
|
void |
increaseValueOfField(String fieldName,
Object value)
Add field with given name and value using
UpateAction.INC to the fields to be updated. |
void |
setValueOfField(String fieldName,
Object value)
Add field with given name and value using
UpateAction.SET to the fields to be updated. |
public ValueHoldingField getIdField()
Update
getIdField
in interface Update
public void add(String fieldName, Object value)
UpateAction
will be
UpateAction.SET
.fieldName
- value
- public void add(UpdateField field)
UpdateField
to the list of fields to be updatedfield
- public void addValueToField(String fieldName, Object value)
UpateAction.ADD
to the fields to be updated.fieldName
- value
- public void setValueOfField(String fieldName, Object value)
UpateAction.SET
to the fields to be updated.fieldName
- value
- public void increaseValueOfField(String fieldName, Object value)
UpateAction.INC
to the fields to be updated.fieldName
- value
- public List<UpdateField> getUpdates()
Update
getUpdates
in interface Update
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.