Class AssignmentQuantityAllocator.Quantities
- java.lang.Object
-
- org.eclipse.xtext.validation.impl.AssignmentQuantityAllocator.Quantities
-
- All Implemented Interfaces:
IAssignmentQuantityAllocator.IQuantities
- Enclosing class:
- AssignmentQuantityAllocator
protected class AssignmentQuantityAllocator.Quantities extends java.lang.Object implements IAssignmentQuantityAllocator.IQuantities
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<IConcreteSyntaxConstraintProvider.ISyntaxConstraint,java.lang.Integer>assignmentQuantsprotected org.eclipse.emf.ecore.EObjectdelegateprotected java.util.Map<org.eclipse.emf.ecore.EStructuralFeature,java.lang.Integer>featureQuants
-
Constructor Summary
Constructors Constructor Description Quantities(org.eclipse.emf.ecore.EObject delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<IConcreteSyntaxConstraintProvider.ISyntaxConstraint,java.lang.Integer>getAssignmentQuantities()java.lang.IntegergetAssignmentQuantity(IConcreteSyntaxConstraintProvider.ISyntaxConstraint assignement)org.eclipse.emf.ecore.EObjectgetEObject()java.util.Map<org.eclipse.emf.ecore.EStructuralFeature,java.lang.Integer>getFeatureQuantities()java.lang.IntegergetFeatureQuantity(org.eclipse.emf.ecore.EStructuralFeature feat)java.util.Map<org.eclipse.emf.ecore.EStructuralFeature,java.util.Collection<IConcreteSyntaxConstraintProvider.ISyntaxConstraint>>groupByFeature()voidsetAssignmentQuantity(IConcreteSyntaxConstraintProvider.ISyntaxConstraint assignement, int quantity)voidsetFeatureQuantity(org.eclipse.emf.ecore.EStructuralFeature feature, int quantity)java.lang.StringtoString()java.lang.StringtoString(java.util.Map<IConcreteSyntaxConstraintProvider.ISyntaxConstraint,org.eclipse.xtext.util.Pair<java.lang.Integer,java.lang.Integer>> minmax)
-
-
-
Field Detail
-
assignmentQuants
protected java.util.Map<IConcreteSyntaxConstraintProvider.ISyntaxConstraint,java.lang.Integer> assignmentQuants
-
delegate
protected org.eclipse.emf.ecore.EObject delegate
-
featureQuants
protected java.util.Map<org.eclipse.emf.ecore.EStructuralFeature,java.lang.Integer> featureQuants
-
-
Method Detail
-
getAssignmentQuantities
public java.util.Map<IConcreteSyntaxConstraintProvider.ISyntaxConstraint,java.lang.Integer> getAssignmentQuantities()
- Specified by:
getAssignmentQuantitiesin interfaceIAssignmentQuantityAllocator.IQuantities
-
getAssignmentQuantity
public java.lang.Integer getAssignmentQuantity(IConcreteSyntaxConstraintProvider.ISyntaxConstraint assignement)
- Specified by:
getAssignmentQuantityin interfaceIAssignmentQuantityAllocator.IQuantities
-
getEObject
public org.eclipse.emf.ecore.EObject getEObject()
- Specified by:
getEObjectin interfaceIAssignmentQuantityAllocator.IQuantities
-
getFeatureQuantities
public java.util.Map<org.eclipse.emf.ecore.EStructuralFeature,java.lang.Integer> getFeatureQuantities()
- Specified by:
getFeatureQuantitiesin interfaceIAssignmentQuantityAllocator.IQuantities
-
getFeatureQuantity
public java.lang.Integer getFeatureQuantity(org.eclipse.emf.ecore.EStructuralFeature feat)
- Specified by:
getFeatureQuantityin interfaceIAssignmentQuantityAllocator.IQuantities
-
groupByFeature
public java.util.Map<org.eclipse.emf.ecore.EStructuralFeature,java.util.Collection<IConcreteSyntaxConstraintProvider.ISyntaxConstraint>> groupByFeature()
- Specified by:
groupByFeaturein interfaceIAssignmentQuantityAllocator.IQuantities
-
setAssignmentQuantity
public void setAssignmentQuantity(IConcreteSyntaxConstraintProvider.ISyntaxConstraint assignement, int quantity)
-
setFeatureQuantity
public void setFeatureQuantity(org.eclipse.emf.ecore.EStructuralFeature feature, int quantity)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toString
public java.lang.String toString(java.util.Map<IConcreteSyntaxConstraintProvider.ISyntaxConstraint,org.eclipse.xtext.util.Pair<java.lang.Integer,java.lang.Integer>> minmax)
-
-