|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.services.persondir.support.merger.MultivaluedAttributeMerger
public class MultivaluedAttributeMerger
Merger that retains values from both maps. If a value exists for a key in both maps the following is done:
List
they are merged into a single List
List
and the other a single value the value is added to the List
List
is created from the two.
Constructor Summary | |
---|---|
MultivaluedAttributeMerger()
|
Method Summary | |
---|---|
java.util.Map |
mergeAttributes(java.util.Map dest,
java.util.Map source)
Please note that the dest map is modified. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultivaluedAttributeMerger()
Method Detail |
---|
public java.util.Map mergeAttributes(java.util.Map dest, java.util.Map source)
dest
map is modified.
mergeAttributes
in interface IAttributeMerger
dest
- - modify this mapsource
- - in consideration of this map
IAttributeMerger.mergeAttributes(java.util.Map, java.util.Map)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |