org.eclipse.xtext.validation.impl
Class ConcreteSyntaxDiagnosticProvider.AbstractConcreteSyntaxDiagnostic
java.lang.Object
org.eclipse.xtext.validation.impl.ConcreteSyntaxDiagnosticProvider.AbstractConcreteSyntaxDiagnostic
- All Implemented Interfaces:
- org.eclipse.emf.common.util.Diagnostic, IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic
- Direct Known Subclasses:
- ConcreteSyntaxDiagnosticProvider.ConcreteSyntaxAssignmentMissingDiagnostic, ConcreteSyntaxDiagnosticProvider.ConcreteSyntaxFeatureDiagnostic, ConcreteSyntaxDiagnosticProvider.ConcreteSyntaxFeatureMissingDiagnostic, ConcreteSyntaxDiagnosticProvider.ConcreteSyntaxObjectDiagnostic
- Enclosing class:
- ConcreteSyntaxDiagnosticProvider
public abstract class ConcreteSyntaxDiagnosticProvider.AbstractConcreteSyntaxDiagnostic
- extends java.lang.Object
- implements IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic
Fields inherited from interface org.eclipse.emf.common.util.Diagnostic |
CANCEL, CANCEL_INSTANCE, ERROR, INFO, OK, OK_INSTANCE, WARNING |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.common.util.Diagnostic |
getCode, getMessage |
involved
protected java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved
rule
protected IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule
source
protected org.eclipse.emf.ecore.EObject source
ConcreteSyntaxDiagnosticProvider.AbstractConcreteSyntaxDiagnostic
public ConcreteSyntaxDiagnosticProvider.AbstractConcreteSyntaxDiagnostic(IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule,
org.eclipse.emf.ecore.EObject source,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)
appendConstraint
protected void appendConstraint(java.lang.StringBuffer msg)
getChildren
public java.util.List<org.eclipse.emf.common.util.Diagnostic> getChildren()
- Specified by:
getChildren
in interface org.eclipse.emf.common.util.Diagnostic
getChildren
protected java.util.List<java.lang.String> getChildren(IConcreteSyntaxConstraintProvider.ISyntaxConstraint obj,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> included)
getCommonContainer
protected IConcreteSyntaxConstraintProvider.ISyntaxConstraint getCommonContainer()
getConstraint
public java.lang.String getConstraint()
getConstraint
protected java.lang.String getConstraint(IConcreteSyntaxConstraintProvider.ISyntaxConstraint element,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> all)
getData
public java.util.List<?> getData()
- Specified by:
getData
in interface org.eclipse.emf.common.util.Diagnostic
getException
public java.lang.Throwable getException()
- Specified by:
getException
in interface org.eclipse.emf.common.util.Diagnostic
getInvolvedIncludingContainers
protected java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> getInvolvedIncludingContainers(IConcreteSyntaxConstraintProvider.ISyntaxConstraint commonRoot)
getRule
public ParserRule getRule()
getSeverity
public int getSeverity()
- Specified by:
getSeverity
in interface org.eclipse.emf.common.util.Diagnostic
getSource
public java.lang.String getSource()
- Specified by:
getSource
in interface org.eclipse.emf.common.util.Diagnostic
getValue
public java.lang.String getValue()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object