org.openbp.guiclient.model.item.itemfinder
Class FinderImpl

java.lang.Object
  extended by org.openbp.guiclient.model.item.itemfinder.FinderImpl
All Implemented Interfaces:
Finder
Direct Known Subclasses:
DataTypeFinder, ModelFinder, NodeFinder

public abstract class FinderImpl
extends java.lang.Object
implements Finder

Implementation to help other finder.

Author:
Baumgartner Michael

Constructor Summary
FinderImpl()
           
 
Method Summary
protected  void addIfMatch(ModelObject objectToAdd, ModelObject itemToCheck, ModelObject refItem, java.util.List coreList)
          Check if two model object are the same.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openbp.guiclient.model.item.itemfinder.Finder
findModelObjectInModel
 

Constructor Detail

FinderImpl

public FinderImpl()
Method Detail

addIfMatch

protected void addIfMatch(ModelObject objectToAdd,
                          ModelObject itemToCheck,
                          ModelObject refItem,
                          java.util.List coreList)
Check if two model object are the same. If true, then the given core object is added to the list.

Parameters:
objectToAdd - The model object that will be added to the list
itemToCheck - The model object to be checked
refItem - The model object to search for
coreList - The list with previously found ModelObject objects


Copyright © 2011. All Rights Reserved.