Interface VDiagnostic
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
VDiagnosticImpl
public interface VDiagnostic extends org.eclipse.emf.ecore.EObject
A representation of the model object 'VDiagnostic'.- Since:
- 1.2
- See Also:
VViewPackage.getDiagnostic()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<org.eclipse.emf.common.util.Diagnostic>
getDiagnostic(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
Returns all diagnostics for the providedEObject
andEStructuralFeature
.org.eclipse.emf.common.util.EList<java.lang.Object>
getDiagnostics()
Returns the value of the 'Diagnostics' attribute list.java.util.List<org.eclipse.emf.common.util.Diagnostic>
getDiagnostics(org.eclipse.emf.ecore.EObject eObject)
Returns all diagnostics for the providedEObject
.int
getHighestSeverity()
Returns the highest severity found in the diagnostics.java.lang.String
getMessage()
Returns the message associated with this validation.
-
-
-
Method Detail
-
getDiagnostics
org.eclipse.emf.common.util.EList<java.lang.Object> getDiagnostics()
Returns the value of the 'Diagnostics' attribute list. The list contents are of typeObject
.If the meaning of the 'Diagnostics' attribute list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Diagnostics' attribute list.
- See Also:
VViewPackage.getDiagnostic_Diagnostics()
-
getHighestSeverity
int getHighestSeverity()
Returns the highest severity found in the diagnostics.- Returns:
- the highest severity
-
getMessage
java.lang.String getMessage()
Returns the message associated with this validation. The message contains only the highest known severity for each EObject.- Returns:
- the message
-
getDiagnostics
java.util.List<org.eclipse.emf.common.util.Diagnostic> getDiagnostics(org.eclipse.emf.ecore.EObject eObject)
Returns all diagnostics for the providedEObject
. The result is sorted by severity and message.- Parameters:
eObject
- theEObject
to search diagnostics for- Returns:
- the list of sorted diagnostics
- Since:
- 1.3
-
getDiagnostic
java.util.List<org.eclipse.emf.common.util.Diagnostic> getDiagnostic(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
Returns all diagnostics for the providedEObject
andEStructuralFeature
. The result is sorted by severity and message.- Parameters:
eObject
- theEObject
to search diagnostics foreStructuralFeature
- theEStructuralFeature
to search diagnostics for- Returns:
- the list of sorted diagnostics
- Since:
- 1.3
-
-