org.eclipse.xtext.validation.impl
Class ConcreteSyntaxDiagnosticProvider.ConcreteSyntaxFeatureDiagnostic
java.lang.Object
org.eclipse.xtext.validation.impl.ConcreteSyntaxDiagnosticProvider.AbstractConcreteSyntaxDiagnostic
org.eclipse.xtext.validation.impl.ConcreteSyntaxDiagnosticProvider.ConcreteSyntaxFeatureDiagnostic
- All Implemented Interfaces:
- org.eclipse.emf.common.util.Diagnostic, IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic
- Enclosing class:
- ConcreteSyntaxDiagnosticProvider
public class ConcreteSyntaxDiagnosticProvider.ConcreteSyntaxFeatureDiagnostic
- extends ConcreteSyntaxDiagnosticProvider.AbstractConcreteSyntaxDiagnostic
Field Summary |
protected int |
actual
|
protected org.eclipse.emf.ecore.EStructuralFeature |
feature
|
protected int |
max
|
protected int |
min
|
Fields inherited from interface org.eclipse.emf.common.util.Diagnostic |
CANCEL, CANCEL_INSTANCE, ERROR, INFO, OK, OK_INSTANCE, WARNING |
Methods inherited from class org.eclipse.xtext.validation.impl.ConcreteSyntaxDiagnosticProvider.AbstractConcreteSyntaxDiagnostic |
appendConstraint, getChildren, getChildren, getCommonContainer, getConstraint, getConstraint, getException, getInvolvedIncludingContainers, getRule, getSeverity, getSource, getValue, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
feature
protected org.eclipse.emf.ecore.EStructuralFeature feature
min
protected int min
max
protected int max
actual
protected int actual
ConcreteSyntaxDiagnosticProvider.ConcreteSyntaxFeatureDiagnostic
public ConcreteSyntaxDiagnosticProvider.ConcreteSyntaxFeatureDiagnostic(IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule,
IAssignmentQuantityAllocator.IQuantities source,
org.eclipse.emf.ecore.EStructuralFeature feature,
int actual,
int min,
int max,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)
getActual
public int getActual()
getCode
public int getCode()
getData
public java.util.List<?> getData()
- Specified by:
getData
in interface org.eclipse.emf.common.util.Diagnostic
- Overrides:
getData
in class ConcreteSyntaxDiagnosticProvider.AbstractConcreteSyntaxDiagnostic
getFeature
public org.eclipse.emf.ecore.EStructuralFeature getFeature()
getMax
public int getMax()
getMessage
public java.lang.String getMessage()
getMin
public int getMin()