code: @SuppressWarnings("unchecked")
  	@Override
  	public void eSet(int featureID, Object newValue) {
  		switch (featureID) {
  			case XtextPackage.GRAMMAR__NAME:
  				setName((String)newValue);
  				return;
  			case XtextPackage.GRAMMAR__USED_GRAMMARS:
  				getUsedGrammars().clear();
  				getUsedGrammars().addAll((Collection<? extends Grammar>)newValue);
  				return;
  			case XtextPackage.GRAMMAR__DEFINES_HIDDEN_TOKENS:
  				setDefinesHiddenTokens((Boolean)newValue);
  				return;
  			case XtextPackage.GRAMMAR__HIDDEN_TOKENS:
  				getHiddenTokens().clear();
  				getHiddenTokens().addAll((Collection<? extends AbstractRule>)newValue);
  				return;
  			case XtextPackage.GRAMMAR__METAMODEL_DECLARATIONS:
  				getMetamodelDeclarations().clear();
  				getMetamodelDeclarations().addAll((Collection<? extends AbstractMetamodelDeclaration>)newValue);
  				return;
  			case XtextPackage.GRAMMAR__RULES:
  				getRules().clear();
  				getRules().addAll((Collection<? extends AbstractRule>)newValue);
  				return;
  		}
  		super.eSet(featureID, newValue);
  	}
docs: <!-- begin-user-doc -->
  <!-- end-user-doc -->
  @generated