org.eclipse.xtext.validation.impl
Class AssignmentQuantityAllocator.Quantities

java.lang.Object
  extended by 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
protected  java.util.Map<IConcreteSyntaxConstraintProvider.ISyntaxConstraint,java.lang.Integer> assignmentQuants
           
protected  org.eclipse.emf.ecore.EObject delegate
           
protected  java.util.Map<org.eclipse.emf.ecore.EStructuralFeature,java.lang.Integer> featureQuants
           
 
Constructor Summary
AssignmentQuantityAllocator.Quantities(org.eclipse.emf.ecore.EObject delegate)
           
 
Method Summary
 java.util.Map<IConcreteSyntaxConstraintProvider.ISyntaxConstraint,java.lang.Integer> getAssignmentQuantities()
           
 java.lang.Integer getAssignmentQuantity(IConcreteSyntaxConstraintProvider.ISyntaxConstraint assignement)
           
 org.eclipse.emf.ecore.EObject getEObject()
           
 java.util.Map<org.eclipse.emf.ecore.EStructuralFeature,java.lang.Integer> getFeatureQuantities()
           
 java.lang.Integer getFeatureQuantity(org.eclipse.emf.ecore.EStructuralFeature feat)
           
 java.util.Map<org.eclipse.emf.ecore.EStructuralFeature,java.util.Collection<IConcreteSyntaxConstraintProvider.ISyntaxConstraint>> groupByFeature()
           
 void setAssignmentQuantity(IConcreteSyntaxConstraintProvider.ISyntaxConstraint assignement, int quantity)
           
 void setFeatureQuantity(org.eclipse.emf.ecore.EStructuralFeature feature, int quantity)
           
 java.lang.String toString()
           
 java.lang.String toString(java.util.Map<IConcreteSyntaxConstraintProvider.ISyntaxConstraint,Pair<java.lang.Integer,java.lang.Integer>> minmax)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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
Constructor Detail

AssignmentQuantityAllocator.Quantities

public AssignmentQuantityAllocator.Quantities(org.eclipse.emf.ecore.EObject delegate)
Method Detail

getAssignmentQuantities

public java.util.Map<IConcreteSyntaxConstraintProvider.ISyntaxConstraint,java.lang.Integer> getAssignmentQuantities()
Specified by:
getAssignmentQuantities in interface IAssignmentQuantityAllocator.IQuantities

getAssignmentQuantity

public java.lang.Integer getAssignmentQuantity(IConcreteSyntaxConstraintProvider.ISyntaxConstraint assignement)
Specified by:
getAssignmentQuantity in interface IAssignmentQuantityAllocator.IQuantities

getEObject

public org.eclipse.emf.ecore.EObject getEObject()
Specified by:
getEObject in interface IAssignmentQuantityAllocator.IQuantities

getFeatureQuantities

public java.util.Map<org.eclipse.emf.ecore.EStructuralFeature,java.lang.Integer> getFeatureQuantities()
Specified by:
getFeatureQuantities in interface IAssignmentQuantityAllocator.IQuantities

getFeatureQuantity

public java.lang.Integer getFeatureQuantity(org.eclipse.emf.ecore.EStructuralFeature feat)
Specified by:
getFeatureQuantity in interface IAssignmentQuantityAllocator.IQuantities

groupByFeature

public java.util.Map<org.eclipse.emf.ecore.EStructuralFeature,java.util.Collection<IConcreteSyntaxConstraintProvider.ISyntaxConstraint>> groupByFeature()
Specified by:
groupByFeature in interface IAssignmentQuantityAllocator.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:
toString in class java.lang.Object

toString

public java.lang.String toString(java.util.Map<IConcreteSyntaxConstraintProvider.ISyntaxConstraint,Pair<java.lang.Integer,java.lang.Integer>> minmax)