Class EObjectConsumer
- java.lang.Object
-
- org.eclipse.xtext.parsetree.reconstr.impl.EObjectConsumer
-
- All Implemented Interfaces:
IEObjectConsumer
public class EObjectConsumer extends java.lang.Object implements IEObjectConsumer
-
-
Constructor Summary
Constructors Constructor Description EObjectConsumer(ITransientValueService transientValueService, org.eclipse.emf.ecore.EObject described)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IEObjectConsumercloneAndConsume(java.lang.String featureName)java.lang.ObjectgetConsumable(java.lang.String featureName, boolean allowDefault)org.eclipse.emf.ecore.EObjectgetEObject()java.util.Map<org.eclipse.emf.ecore.EStructuralFeature,java.lang.Integer>getUnconsumed()booleanisConsumable(org.eclipse.emf.ecore.EStructuralFeature feature, boolean allowDefault)booleanisConsumed()booleanisConsumedWithLastConsumtion(java.lang.String featureName)booleanisInstanceOf(org.eclipse.emf.ecore.EClassifier classifier)java.lang.StringtoString()
-
-
-
Constructor Detail
-
EObjectConsumer
public EObjectConsumer(ITransientValueService transientValueService, org.eclipse.emf.ecore.EObject described)
-
-
Method Detail
-
cloneAndConsume
public IEObjectConsumer cloneAndConsume(java.lang.String featureName)
- Specified by:
cloneAndConsumein interfaceIEObjectConsumer
-
getConsumable
public java.lang.Object getConsumable(java.lang.String featureName, boolean allowDefault)- Specified by:
getConsumablein interfaceIEObjectConsumer
-
getEObject
public org.eclipse.emf.ecore.EObject getEObject()
- Specified by:
getEObjectin interfaceIEObjectConsumer
-
getUnconsumed
public java.util.Map<org.eclipse.emf.ecore.EStructuralFeature,java.lang.Integer> getUnconsumed()
- Specified by:
getUnconsumedin interfaceIEObjectConsumer
-
isConsumable
public boolean isConsumable(org.eclipse.emf.ecore.EStructuralFeature feature, boolean allowDefault)
-
isConsumed
public boolean isConsumed()
- Specified by:
isConsumedin interfaceIEObjectConsumer
-
isConsumedWithLastConsumtion
public boolean isConsumedWithLastConsumtion(java.lang.String featureName)
- Specified by:
isConsumedWithLastConsumtionin interfaceIEObjectConsumer
-
isInstanceOf
public boolean isInstanceOf(org.eclipse.emf.ecore.EClassifier classifier)
- Specified by:
isInstanceOfin interfaceIEObjectConsumer- Parameters:
classifier- the type as it is used within the grammar of the given language- Returns:
- true if the delegate is a direct instance of the given type
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-