com.sap.ide.webdynpro.checklayer.controller
Class ComponentControllerChecker

java.lang.Object
  |
  +--com.sap.ide.webdynpro.checklayer.controller.ComponentControllerChecker

public class ComponentControllerChecker
extends java.lang.Object

This is the checker class for component controllers.


Constructor Summary
ComponentControllerChecker()
           
 
Method Summary
static void check(com.sap.ide.metamodel.webdynpro.component.controller.Controller controller, boolean fullCheck, CheckResult checkResult)
          This method starts the checks for a component controller.
 void check(com.sap.ide.metamodel.general.DevelopmentObject developmentObject, boolean fullCheck, CheckResult checkResult)
           
static ComponentControllerChecker getInstance()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentControllerChecker

public ComponentControllerChecker()
Method Detail

getInstance

public static ComponentControllerChecker getInstance()

check

public void check(com.sap.ide.metamodel.general.DevelopmentObject developmentObject,
                  boolean fullCheck,
                  CheckResult checkResult)
See Also:
IWebDynproChecker.check(DevelopmentObject, boolean, CheckResult)

check

public static void check(com.sap.ide.metamodel.webdynpro.component.controller.Controller controller,
                         boolean fullCheck,
                         CheckResult checkResult)
This method starts the checks for a component controller. The following checks are performed: - Is the controller really a component controller? - Is the parent of the controller a component? - Do all component usages have a used component? - Are all used models present? This method does not call any other checker, since the component is checked on its own.
Parameters:
controller - The component controller to check.
fullCheck - This parameter has no effect for this method.
checkResult - The found errors and warnings are stored in this object.


Copyright © 2005 SAP AG. All Rights Reserved.