Skip navigation links
oracle.iam.platform.entitymgr.vo
Class MultiValueDeltaSet
java.lang.Object
java.util.AbstractCollection
java.util.AbstractSet
java.util.HashSet
oracle.iam.platform.entitymgr.vo.MultiValueDeltaSet
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.Set, IMultiValueDeltaData
-
public class MultiValueDeltaSet
- extends java.util.HashSet
- implements IMultiValueDeltaData
Data structure to store delta updates to be done on an multi-valued attribute
- See Also:
- Serialized Form
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 c)
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[] c)
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)
|
java.lang.String |
toString()
|
Methods inherited from class java.util.HashSet |
clone, contains, isEmpty, iterator, size |
Methods inherited from class java.util.AbstractSet |
equals, hashCode |
Methods inherited from class java.util.AbstractCollection |
containsAll, toArray, toArray |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Collection |
contains, containsAll, equals, hashCode, isEmpty, iterator, size, toArray, toArray |
Methods inherited from interface java.util.Set |
containsAll, equals, hashCode, toArray, toArray |
MultiValueDeltaSet
public MultiValueDeltaSet()
- Constructs a new, empty MVA set;
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.util.AbstractCollection
add
public boolean add(java.lang.Object e)
- Description copied from interface:
IMultiValueDeltaData
- 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
-
- Specified by:
add
in interface java.util.Collection
- Specified by:
add
in interface java.util.Set
- Specified by:
add
in interface IMultiValueDeltaData
- Overrides:
add
in class java.util.HashSet
-
- Parameters:
e
- value that needs to be appended to existing values
- Returns:
- true if this collection changed as a result of the call
addAll
public boolean addAll(java.util.Collection c)
- Description copied from interface:
IMultiValueDeltaData
- 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
-
- Specified by:
addAll
in interface java.util.Collection
- Specified by:
addAll
in interface java.util.Set
- Specified by:
addAll
in interface IMultiValueDeltaData
- Overrides:
addAll
in class java.util.AbstractCollection
-
- Parameters:
c
- values that needs to be appended to existing values
- Returns:
- true if this collection changed as a result of the call
addAll
public boolean addAll(java.lang.Object[] c)
- Description copied from interface:
IMultiValueDeltaData
- 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
-
- Specified by:
addAll
in interface IMultiValueDeltaData
-
- Parameters:
c
- values that needs to be appended to existing values
- Returns:
- true if this collection changed as a result of the call
remove
public boolean remove(java.lang.Object o)
- Description copied from interface:
IMultiValueDeltaData
- 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
-
- Specified by:
remove
in interface java.util.Collection
- Specified by:
remove
in interface java.util.Set
- Specified by:
remove
in interface IMultiValueDeltaData
- Overrides:
remove
in class java.util.HashSet
-
- Returns:
- true if this collection changed as a result of the call
removeAll
public boolean removeAll(java.util.Collection c)
- Description copied from interface:
IMultiValueDeltaData
- 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
-
- Specified by:
removeAll
in interface java.util.Collection
- Specified by:
removeAll
in interface java.util.Set
- Specified by:
removeAll
in interface IMultiValueDeltaData
- Overrides:
removeAll
in class java.util.AbstractSet
-
- Parameters:
c
- values that needs to be appended to existing values
- Returns:
- true if this collection changed as a result of the call
removeAll
public boolean removeAll(java.lang.Object[] c)
- Description copied from interface:
IMultiValueDeltaData
- 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
-
- Specified by:
removeAll
in interface IMultiValueDeltaData
-
- Parameters:
c
- values that needs to be appended to existing values
- Returns:
- true if this collection changed as a result of the call
replaceAll
public boolean replaceAll(java.util.Collection c)
- Description copied from interface:
IMultiValueDeltaData
- 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
-
- Specified by:
replaceAll
in interface IMultiValueDeltaData
-
- Parameters:
c
- new values to replace old values
- Returns:
- true if this collection changed as a result of the call
replaceAll
public boolean replaceAll(java.lang.Object[] c)
- Description copied from interface:
IMultiValueDeltaData
- 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
-
- Specified by:
replaceAll
in interface IMultiValueDeltaData
-
- Parameters:
c
- new values to replace old values
- Returns:
- true if this collection changed as a result of the call
retainAll
public boolean retainAll(java.util.Collection c)
-
- Specified by:
retainAll
in interface java.util.Collection
- Specified by:
retainAll
in interface java.util.Set
- Specified by:
retainAll
in interface IMultiValueDeltaData
- Overrides:
retainAll
in class java.util.AbstractCollection
clear
public void clear()
- Description copied from interface:
IMultiValueDeltaData
- Clears the existing state of the delta collection and sets the Operate mode to NULL
-
- Specified by:
clear
in interface java.util.Collection
- Specified by:
clear
in interface java.util.Set
- Specified by:
clear
in interface IMultiValueDeltaData
- Overrides:
clear
in class java.util.HashSet
getMode
public IMultiValueDeltaData.Operation getMode()
- Description copied from interface:
IMultiValueDeltaData
- Returns operation mode for multi valued delta collection
-
- Specified by:
getMode
in interface IMultiValueDeltaData
-
- Returns:
- operation mode
Skip navigation links
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.