public class CardinalityAwareEcoreFactory extends DefaultEcoreElementFactory
(feature+=RuleCall+)?. Usually the '?' would override the '+' and the information
about the '+' is completely lost. This factory will flag such patterns with a warning.| Constructor and Description |
|---|
CardinalityAwareEcoreFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
set(org.eclipse.emf.ecore.EObject object,
java.lang.String feature,
java.lang.Object value,
java.lang.String ruleName,
INode node)
Assigns a given value to a feature of the element
_this. |
add, create, getConverterService, getTokenAsStringIfPossible, setConverterServicepublic void set(org.eclipse.emf.ecore.EObject object,
java.lang.String feature,
java.lang.Object value,
java.lang.String ruleName,
INode node)
throws ValueConverterException
IAstFactory_this. The value may be converted
according to the optional lexer rule.
The feature must be resolvable to a single value feature.set in interface IAstFactoryset in class DefaultEcoreElementFactoryValueConverterException - if the value cannot be converted.