org.jasig.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: 43105 $ $Date: 2008-02-14 09:49:44 -0600 (Thu, 14 Feb 2008) $
- Author:
- andrew.petro@yale.edu
mergeAttributes
Map<String,List<Object>> mergeAttributes(Map<String,List<Object>> toModify,
Map<String,List<Object>> 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:
IllegalArgumentException - if either toModify or toConsider is null
Copyright © 1998-2008 Java Architectures Special Interest Group. All Rights Reserved.