|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMultiValueDeltaData
Data structure to store delta updates to be performed on multiple values
Nested Class Summary | |
---|---|
static class |
IMultiValueDeltaData.Operation Possible operations supported for multi valued delta collection ADD - Adds/Appends given values to the existing values present in the repository REMOVE - Removes given values from the existing values present in the repository REPLACEALL - Replaces all the existing values present in the repository with values present in multi valued delta collection |
Method Summary | |
---|---|
boolean |
add(java.lang.Object e) This method adds the given input object in the delta set which will be used to append to the existing values in the repository This method also sets the operation mode to Operation.ADD Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.ADD |
boolean |
addAll(java.util.Collection c) This method adds the given input object in the delta set which will be used to append to the existing values in the repository This method also sets the operation mode to Operation.ADD Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.ADD |
boolean |
addAll(java.lang.Object[] c) This method adds the given input object in the delta set which will be used to append to the existing values in the repository This method also sets the operation mode to Operation.ADD Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.ADD |
void |
clear() Clears the existing state of the delta collection and sets the Operate mode to NULL |
IMultiValueDeltaData.Operation |
getMode() Returns operation mode for multi valued delta collection |
boolean |
remove(java.lang.Object o) This method adds the given input object in the delta set which can be used to remove these values from the repository This method also sets the operation mode to Operation.REMOVE Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.REMOVE |
boolean |
removeAll(java.util.Collection c) This method adds the given input collection in the delta set which can be used to remove these values from the repository This method also sets the operation mode to Operation.REMOVE Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.REMOVE |
boolean |
removeAll(java.lang.Object[] c) This method adds the given input values in the delta set which can be used to remove these values from the repository This method also sets the operation mode to Operation.REMOVE Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.REMOVE |
boolean |
replaceAll(java.util.Collection values) This method adds the given values provided as input in the delta set which can be used to replace all the existing values in the repository with these new values provided This method also sets the operation mode to Operation.REPLACEALL Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.REPLACEALL |
boolean |
replaceAll(java.lang.Object[] values) This method adds the given values provided as input in the delta set which can be used to replace all the existing values in the repository with these new values provided This method also sets the operation mode to Operation.REPLACEALL Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.REPLACEALL |
boolean |
retainAll(java.util.Collection c) |
Methods inherited from interface java.util.Collection |
---|
contains, containsAll, equals, hashCode, isEmpty, iterator, size, toArray, toArray |
Method Detail |
---|
IMultiValueDeltaData.Operation getMode()
boolean add(java.lang.Object e)
add
in interface java.util.Collection
e
- value that needs to be appended to existing valuesjava.lang.IllegalArgumentException
- in case of passed input parameter is NULLboolean addAll(java.util.Collection c)
addAll
in interface java.util.Collection
c
- values that needs to be appended to existing valuesjava.lang.IllegalArgumentException
- in case of passed input parameter is NULL OR the passed collection contains NULLboolean addAll(java.lang.Object[] c)
c
- values that needs to be appended to existing valuesjava.lang.IllegalArgumentException
- in case of passed input parameter is NULL OR the passed values contains NULLboolean remove(java.lang.Object o)
remove
in interface java.util.Collection
e
- value that needs to be appended to existing valuesboolean removeAll(java.util.Collection c)
removeAll
in interface java.util.Collection
c
- values that needs to be appended to existing valuesboolean removeAll(java.lang.Object[] c)
c
- values that needs to be appended to existing valuesboolean replaceAll(java.util.Collection values)
values
- new values to replace old valuesboolean replaceAll(java.lang.Object[] values)
values
- new values to replace old valuesboolean retainAll(java.util.Collection c)
retainAll
in interface java.util.Collection
java.lang.UnsupportedOperationException
void clear()
clear
in interface java.util.Collection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |