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-objectvoid
setBridgeMatcher
(ObjectMatcher bridgeMatcher) Used to match each input-object to an intermediary-objectvoid
setObjectMatcher
(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, onInitialization
Methods 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:ObjectMatcher
Finds matches for objects.- Specified by:
findMatch
in classObjectMatcher
- Parameters:
sourceObjects
- a collection of objects, each of whom is considered a possible match.- Returns:
- a list of each object from
sourceObjects
with 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
-