public static interface IGrammarConstraintProvider.IConstraint extends Comparable<IGrammarConstraintProvider.IConstraint>
IGrammarConstraintProvider.IConstraintElement. This tree's root
can be accessed by getBody().| Modifier and Type | Method and Description |
|---|---|
IGrammarConstraintProvider.IConstraintElement[] |
getAssignments() |
IGrammarConstraintProvider.IConstraintElement |
getBody() |
IGrammarConstraintProvider.IConstraintElement[] |
getElements() |
IGrammarConstraintProvider.IFeatureInfo[] |
getFeatures() |
Iterable<IGrammarConstraintProvider.IFeatureInfo> |
getMultiAssignementFeatures() |
String |
getName() |
String |
getSimpleName() |
Iterable<IGrammarConstraintProvider.IFeatureInfo> |
getSingleAssignementFeatures() |
org.eclipse.emf.ecore.EClass |
getType() |
compareToIGrammarConstraintProvider.IConstraintElement[] getAssignments()
IGrammarConstraintProvider.IConstraintElement.getAssignmentID() returns an Assignment's index in this list. The order of
the list reflects the order of the assignments in the constraint. Assignments are
IGrammarConstraintProvider.IConstraintElements with IGrammarConstraintProvider.IConstraintElement.getType() == ASSIGNED_*IGrammarConstraintProvider.IConstraintElement getBody()
IGrammarConstraintProvider.IConstraintElement that defines this constraint.IGrammarConstraintProvider.IConstraintElement[] getElements()
getBody(). IGrammarConstraintProvider.IConstraintElement.getElementID() returns an Assignment's
index in this list. The order of the list reflects the order of the elements in the constraint.IGrammarConstraintProvider.IFeatureInfo[] getFeatures()
IGrammarConstraintProvider.IFeatureInfo for all EStructuralFeatures from the EClass returned
by getType() that have an assignment if this constraint. If there is no assignment for an
EStructuralFeature in this constraint, the array's item is null.Iterable<IGrammarConstraintProvider.IFeatureInfo> getSingleAssignementFeatures()
Iterable<IGrammarConstraintProvider.IFeatureInfo> getMultiAssignementFeatures()
String getName()
String getSimpleName()
org.eclipse.emf.ecore.EClass getType()
Copyright © 2015. All Rights Reserved.