net.sf.jmd.checks.impl
Class InterfacesAdded

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

public class InterfacesAdded
extends ModelItemsAdded

Author:
Jan Hinzmann

Constructor Summary
InterfacesAdded()
           
 
Method Summary
 java.util.List<IDifference> check(java.util.List<IDifference> currentDifferences)
          Checks for Interfaces 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

InterfacesAdded

public InterfacesAdded()
Method Detail

check

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

Specified by:
check in interface ICheck
Overrides:
check in class ModelItemsAdded


Copyright © 2007-2010. All Rights Reserved.