Class Bridge
Matches to another object, and then uses that object to bridge to another
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindMatch(ObjectCollection sourceObjects) Finds matches for objects.Used to match each input-object to an intermediary-objectUsed to match each intermediary-object to a final-objectvoidsetBridgeMatcher(ObjectMatcher bridgeMatcher) Used to match each input-object to an intermediary-objectvoidsetObjectMatcher(ObjectMatcher objectMatcher) Used to match each intermediary-object to a final-objectMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Bridge
public Bridge()
-
-
Method Details
-
findMatch
public List<MatchedObject> findMatch(ObjectCollection sourceObjects) throws OperationFailedException Description copied from class:ObjectMatcherFinds matches for objects.- Specified by:
findMatchin classObjectMatcher- Parameters:
sourceObjects- a collection of objects, each of whom is considered a possible match.- Returns:
- a list of each object from
sourceObjectswith corresponding matches (element order remains unchanged). - Throws:
OperationFailedException- if find process cannot successfully complete.
-
getBridgeMatcher
Used to match each input-object to an intermediary-object -
setBridgeMatcher
Used to match each input-object to an intermediary-object -
getObjectMatcher
Used to match each intermediary-object to a final-object -
setObjectMatcher
Used to match each intermediary-object to a final-object
-