|
IBM Rational Software Modeler Release 6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An extension of the Eclipse core status interface that provides additional information about the violation of a constraint during the validation of a model.
In general, validation status objects will not indicate an
OKstatus, because they describe constraint
violations. Moreover, validation status objects are never multi-statuses.
API clients should not implement this interface.
| Field Summary |
| Fields inherited from interface org.eclipse.core.runtime.IStatus |
CANCEL, ERROR, INFO, OK, WARNING |
| Method Summary | |
IStatus[] |
getChildren()
The IValidationStatus interface redefines this method to
always return an empty array of child statuses. |
Set |
getRelatedObjects()
In the case of a constraint violation, obtains the set of related elements that contributed to the problem. |
String |
getRuleID()
The rule property defined in the marker resolution extension |
EObject |
getTarget()
Obtains the model element on which a constraint was evaluated, that was violated (or not) according to my severity.
|
boolean |
isMultiStatus()
The IValidationStatus interface redefines this method to
always return false. |
| Methods inherited from interface org.eclipse.core.runtime.IStatus |
getCode, getException, getMessage, getPlugin, getSeverity, isOK, matches |
| Method Detail |
public EObject getTarget()
severity.
In the case of a constraint violation, my
messageindicates the nature of the problem.
public Set getRelatedObjects()
targetof the constraint evaluation.
public boolean isMultiStatus()
IValidationStatus interface redefines this method to
always return false.
isMultiStatus in interface IStatusfalsepublic IStatus[] getChildren()
IValidationStatus interface redefines this method to
always return an empty array of child statuses.
getChildren in interface IStatuspublic String getRuleID()
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.