de.armax.ax.devtools.uml
Class AXmodelChecker
java.lang.Object
de.armax.ax.devtools.uml.AXmodelChecker
- Direct Known Subclasses:
- AXdefaultModelChecker, AXojbHelper
- public abstract class AXmodelChecker
- extends java.lang.Object
Abstract base class for model checkers.
A model checker is a util that may be used to perform any kind of check on
a model and produces warning and error events that may be consumed by an
AXmodelCheckerListener
.
- Author:
- Peter Wieland, ARMAX mindware GmbH
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESULT_OK
public static final int RESULT_OK
- See Also:
- Constant Field Values
RESULT_WARNINGS
public static final int RESULT_WARNINGS
- See Also:
- Constant Field Values
RESULT_ERRORS
public static final int RESULT_ERRORS
- See Also:
- Constant Field Values
AXmodelChecker
protected AXmodelChecker()
check
public abstract int check(AXmodel model)
getErrorCount
public abstract int getErrorCount()
getWarningCount
public abstract int getWarningCount()
addModelCheckerListener
public void addModelCheckerListener(AXmodelCheckerListener listener)
removeModelCheckerListener
public void removeModelCheckerListener(AXmodelCheckerListener listener)
fireErrorEvent
public void fireErrorEvent(AXmodelElement element,
java.lang.String msg)
fireWarningEvent
public void fireWarningEvent(AXmodelElement element,
java.lang.String msg)
fireFinishedEvent
public void fireFinishedEvent(int result,
int warnings,
int errors)
Copyright © 2003 ARMAX mindware GmbH. All Rights Reserved.