org.jasig.portal.services.persondir.support.merger
Interface IAttributeMerger
- All Known Implementing Classes:
- MultivaluedAttributeMerger, NoncollidingAttributeAdder, ReplacingAttributeAdder
public interface IAttributeMerger
Interface for merging attributes from sibling PersonAttributeDaos.
- Version:
- $Revision: 1.1 $ $Date: 2004/12/13 23:27:38 $
- Author:
- andrew.petro@yale.edu
Method Summary |
java.util.Map |
mergeAttributes(java.util.Map toModify,
java.util.Map toConsider)
Modify the "toModify" argument in consideration of the "toConsider"
argument. |
mergeAttributes
java.util.Map mergeAttributes(java.util.Map toModify,
java.util.Map toConsider)
- Modify the "toModify" argument in consideration of the "toConsider"
argument. Return the resulting Map, which may or may not be the same
reference as the "toModify" argument.
The modification performed is implementation-specific -- implementations
of this interface exist to perform some particular transformation on
the toModify argument given the toConsider argument.
- Parameters:
toModify
- - modify this maptoConsider
- - in consideration of this map
- Returns:
- the modified Map
- Throws:
java.lang.IllegalArgumentException
- if either toModify or toConsider is null