org.eclipse.xtext.validation.impl
Class AssignmentQuantityIntervalProvider
java.lang.Object
org.eclipse.xtext.validation.impl.AssignmentQuantityIntervalProvider
- All Implemented Interfaces:
- IAssignmentQuantityIntervalProvider
public class AssignmentQuantityIntervalProvider
- extends java.lang.Object
- implements IAssignmentQuantityIntervalProvider
- Author:
- Moritz Eysholdt - Initial contribution and API
Method Summary |
protected boolean |
containsUnavailableFeature(IAssignmentQuantityAllocator.IQuantities ctx,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint child,
java.lang.String exclude,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)
|
int |
getMax(IAssignmentQuantityAllocator.IQuantities ctx,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint ass,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved,
java.lang.String excludeFeature)
|
protected int |
getMaxByParent(IAssignmentQuantityAllocator.IQuantities ctx,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint ele,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint exclude,
java.lang.String excludeFeature,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> inv)
|
protected int |
getMaxForChild(IAssignmentQuantityAllocator.IQuantities ctx,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint child,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)
|
int |
getMin(IAssignmentQuantityAllocator.IQuantities ctx,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint assignment,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)
|
protected int |
getMinByParent(IAssignmentQuantityAllocator.IQuantities ctx,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint parent,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint exclude,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)
|
protected int |
getMinForChild(IAssignmentQuantityAllocator.IQuantities ctx,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint child,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssignmentQuantityIntervalProvider
public AssignmentQuantityIntervalProvider()
containsUnavailableFeature
protected boolean containsUnavailableFeature(IAssignmentQuantityAllocator.IQuantities ctx,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint child,
java.lang.String exclude,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)
getMax
public int getMax(IAssignmentQuantityAllocator.IQuantities ctx,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint ass,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved,
java.lang.String excludeFeature)
- Specified by:
getMax
in interface IAssignmentQuantityIntervalProvider
getMaxByParent
protected int getMaxByParent(IAssignmentQuantityAllocator.IQuantities ctx,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint ele,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint exclude,
java.lang.String excludeFeature,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> inv)
getMaxForChild
protected int getMaxForChild(IAssignmentQuantityAllocator.IQuantities ctx,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint child,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)
getMin
public int getMin(IAssignmentQuantityAllocator.IQuantities ctx,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint assignment,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)
- Specified by:
getMin
in interface IAssignmentQuantityIntervalProvider
getMinByParent
protected int getMinByParent(IAssignmentQuantityAllocator.IQuantities ctx,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint parent,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint exclude,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)
getMinForChild
protected int getMinForChild(IAssignmentQuantityAllocator.IQuantities ctx,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint child,
java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)