org.eclipse.xtext.validation.impl
Class ConcreteSyntaxDiagnosticProvider.ConcreteSyntaxFeatureDiagnostic

java.lang.Object
  extended by org.eclipse.xtext.validation.impl.ConcreteSyntaxDiagnosticProvider.AbstractConcreteSyntaxDiagnostic
      extended by 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 class org.eclipse.xtext.validation.impl.ConcreteSyntaxDiagnosticProvider.AbstractConcreteSyntaxDiagnostic
involved, rule, source
 
Fields inherited from interface org.eclipse.emf.common.util.Diagnostic
CANCEL, CANCEL_INSTANCE, ERROR, INFO, OK, OK_INSTANCE, WARNING
 
Constructor Summary
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)
           
 
Method Summary
 int getActual()
           
 int getCode()
           
 java.util.List<?> getData()
           
 org.eclipse.emf.ecore.EStructuralFeature getFeature()
           
 int getMax()
           
 java.lang.String getMessage()
           
 int getMin()
           
 
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
 

Field Detail

feature

protected org.eclipse.emf.ecore.EStructuralFeature feature

min

protected int min

max

protected int max

actual

protected int actual
Constructor Detail

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)
Method Detail

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()