public interface ValidatableObject
extends org.eclipse.emf.ecore.EObject
The following features are supported:
CommonPackage.getValidatableObject()| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.util.EList |
getValidationMessages()
Returns the value of the 'Validation Messages' reference list.
|
boolean |
hasErrors()
Return an indication of whether the object has any ERROR severity messages.
|
boolean |
hasErrors(boolean abDemotion)
Return an indication of whether the object has any ERROR severity messages.
|
boolean |
hasErrorsOrWarnings()
Return an indication of whether the object has any ERROR or WARNING severity messages.
|
boolean |
hasErrorsOrWarnings(boolean abDemotion)
Return an indication of whether the object has any ERROR or WARNING severity messages.
|
boolean |
hasSeverity(ValidationMessageSeverity aValidationMessageSeverity)
Return an indication of whether the object has any messages of the specified severity.
|
boolean |
hasSeverity(ValidationMessageSeverity aValidationMessageSeverity,
boolean abDemotion)
Return an indication of whether the object has any messages of the specified severity.
|
boolean |
hasWarnings()
Return an indication of whether the object has any WARNING severity messages.
|
boolean |
hasWarnings(boolean abDemotion)
Return an indication of whether the object has any WARNING severity messages.
|
boolean |
isValid()
Return an indication of whether the object is free of any ERROR severity messages.
|
boolean |
isValid(boolean abDemotion)
Return an indication of whether the object is free of any ERROR severity messages.
|
org.eclipse.emf.common.util.EList getValidationMessages()
ValidationMessage.
It is bidirectional and its opposite is 'Invalid Objects'.
If the meaning of the 'Validation Messages' reference list isn't clear, there really should be more of a description here...
CommonPackage.getValidatableObject_ValidationMessages(),
ValidationMessage.getInvalidObjects()boolean hasErrors()
true of object has any errors.boolean hasErrors(boolean abDemotion)
abDemotion - true to take demotion into account.true of object has any errors.boolean hasErrorsOrWarnings()
true of object has any errors or warnings.boolean hasErrorsOrWarnings(boolean abDemotion)
abDemotion - true to take demotion into account.true of object has any errors or warnings.boolean hasSeverity(ValidationMessageSeverity aValidationMessageSeverity)
aValidationMessageSeverity - Severity of message.true if object has any messages of the specified severity.boolean hasSeverity(ValidationMessageSeverity aValidationMessageSeverity, boolean abDemotion)
aValidationMessageSeverity - Severity of message.abDemotion - true to take demotion into account.true if object has any messages of the specified severity.boolean hasWarnings()
true of object has any warnings.boolean hasWarnings(boolean abDemotion)
abDemotion - true to take demotion into account.true of object has any warnings.boolean isValid()
true of object has no ERROR severity messages.boolean isValid(boolean abDemotion)
abDemotion - true to take demotion into account.true of object has no ERROR severity messages.Copyright © 2005-2016 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.