org.eclipse.xtext.serializer.analysis
Class GrammarConstraintProvider.FeatureInfo
java.lang.Object
org.eclipse.xtext.serializer.analysis.GrammarConstraintProvider.FeatureInfo
- All Implemented Interfaces:
- IGrammarConstraintProvider.IFeatureInfo
- Enclosing class:
- GrammarConstraintProvider
protected static class GrammarConstraintProvider.FeatureInfo
- extends java.lang.Object
- implements IGrammarConstraintProvider.IFeatureInfo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
assignments
protected IGrammarConstraintProvider.IConstraintElement[] assignments
constraint
protected IGrammarConstraintProvider.IConstraint constraint
contentValidationNeeded
protected java.lang.Boolean contentValidationNeeded
dependingFeatures
protected java.util.List<Pair<IGrammarConstraintProvider.IFeatureInfo,IGrammarConstraintProvider.RelationalDependencyType>> dependingFeatures
feature
protected org.eclipse.emf.ecore.EStructuralFeature feature
GrammarConstraintProvider.FeatureInfo
public GrammarConstraintProvider.FeatureInfo(IGrammarConstraintProvider.IConstraint constraint,
org.eclipse.emf.ecore.EStructuralFeature feature,
IGrammarConstraintProvider.IConstraintElement[] assignments)
getAssignmentCount
public int getAssignmentCount()
getAssignments
public IGrammarConstraintProvider.IConstraintElement[] getAssignments()
- Specified by:
getAssignments
in interface IGrammarConstraintProvider.IFeatureInfo
getContainingConstraint
public IGrammarConstraintProvider.IConstraint getContainingConstraint()
- Specified by:
getContainingConstraint
in interface IGrammarConstraintProvider.IFeatureInfo
getDependingFeatures
public java.util.List<Pair<IGrammarConstraintProvider.IFeatureInfo,IGrammarConstraintProvider.RelationalDependencyType>> getDependingFeatures()
- Specified by:
getDependingFeatures
in interface IGrammarConstraintProvider.IFeatureInfo
getFeature
public org.eclipse.emf.ecore.EStructuralFeature getFeature()
- Specified by:
getFeature
in interface IGrammarConstraintProvider.IFeatureInfo
getLowerBound
public int getLowerBound()
- Specified by:
getLowerBound
in interface IGrammarConstraintProvider.IFeatureInfo
getRelationalAssignemntConstraintIntersection
protected java.util.List<Pair<IGrammarConstraintProvider.IConstraintElement,IGrammarConstraintProvider.RelationalDependencyType>> getRelationalAssignemntConstraintIntersection()
getUpperBound
public int getUpperBound()
- Specified by:
getUpperBound
in interface IGrammarConstraintProvider.IFeatureInfo
isContentValidationNeeded
public boolean isContentValidationNeeded()
- Specified by:
isContentValidationNeeded
in interface IGrammarConstraintProvider.IFeatureInfo
- Returns:
- true for ASSIGNED_*, if there are multiple IConstraintELements for the same EStructuralFeature, which
refer to different keywords, rulecalls or cross references.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getCalledContexts
public java.util.List<org.eclipse.emf.ecore.EObject> getCalledContexts()
- Specified by:
getCalledContexts
in interface IGrammarConstraintProvider.IFeatureInfo