net.sf.jmd.checks.impl
Class ModelItemsAdded

java.lang.Object
  extended by net.sf.jmd.checks.impl.Check
      extended by net.sf.jmd.checks.impl.ModelItemsAdded
All Implemented Interfaces:
ICheck
Direct Known Subclasses:
InterfacesAdded

public class ModelItemsAdded
extends Check

Author:
Jan Hinzmann

Constructor Summary
ModelItemsAdded()
           
 
Method Summary
 java.util.List<IDifference> check(java.util.List<IDifference> currentDifferences)
          Checks for ModelItems added to the Model.
 
Methods inherited from class net.sf.jmd.checks.impl.Check
getAMModelElements, getClasses, getDMModelElements, getInterfaces, getName, getPrivateOperations, getPublicMethods, getSeverity, initLists, reduceProblemSpaceToInterfaces, setName, setSeverity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelItemsAdded

public ModelItemsAdded()
Method Detail

check

public java.util.List<IDifference> check(java.util.List<IDifference> currentDifferences)
Checks for ModelItems added to the Model. That is, an ModelItem is in the list of modelitems in the developers model (DM) but not in the list of the model items in the architects model (AM). Therefore all model items in the DM are suspicious and copied to the list of added model items. Then the model items found also to be in the DM and in the AM are removed from the list of suspicious model items leaving the added model items in the list.



Copyright © 2007-2010. All Rights Reserved.