content: /**
   */
  package com.intel.llvm.ireditor.lLVM_IR.impl;
  
  import com.intel.llvm.ireditor.lLVM_IR.LLVM_IRPackage;
  import com.intel.llvm.ireditor.lLVM_IR.ParameterAttributes;
  
  import java.util.Collection;
  
  import org.eclipse.emf.common.util.EList;
  
  import org.eclipse.emf.ecore.EClass;
  
  import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
  
  import org.eclipse.emf.ecore.util.EDataTypeEList;
  
  /**
   * <!-- begin-user-doc -->
   * An implementation of the model object '<em><b>Parameter Attributes</b></em>'.
   * <!-- end-user-doc -->
   * <p>
   * The following features are implemented:
   * <ul>
   *   <li>{@link com.intel.llvm.ireditor.lLVM_IR.impl.ParameterAttributesImpl#getAttributes <em>Attributes</em>}</li>
   * </ul>
   * </p>
   *
   * @generated
   */
  public class ParameterAttributesImpl extends MinimalEObjectImpl.Container implements ParameterAttributes
  {
    /**
     * The cached value of the '{@link #getAttributes() <em>Attributes</em>}' attribute list.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @see #getAttributes()
     * @generated
     * @ordered
     */
    protected EList<String> attributes;
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    protected ParameterAttributesImpl()
    {
      super();
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    @Override
    protected EClass eStaticClass()
    {
      return LLVM_IRPackage.Literals.PARAMETER_ATTRIBUTES;
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public EList<String> getAttributes()
    {
      if (attributes == null)
      {
        attributes = new EDataTypeEList<String>(String.class, this, LLVM_IRPackage.PARAMETER_ATTRIBUTES__ATTRIBUTES);
      }
      return attributes;
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    @Override
    public Object eGet(int featureID, boolean resolve, boolean coreType)
    {
      switch (featureID)
      {
        case LLVM_IRPackage.PARAMETER_ATTRIBUTES__ATTRIBUTES:
          return getAttributes();
      }
      return super.eGet(featureID, resolve, coreType);
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    @SuppressWarnings("unchecked")
    @Override
    public void eSet(int featureID, Object newValue)
    {
      switch (featureID)
      {
        case LLVM_IRPackage.PARAMETER_ATTRIBUTES__ATTRIBUTES:
          getAttributes().clear();
          getAttributes().addAll((Collection<? extends String>)newValue);
          return;
      }
      super.eSet(featureID, newValue);
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    @Override
    public void eUnset(int featureID)
    {
      switch (featureID)
      {
        case LLVM_IRPackage.PARAMETER_ATTRIBUTES__ATTRIBUTES:
          getAttributes().clear();
          return;
      }
      super.eUnset(featureID);
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    @Override
    public boolean eIsSet(int featureID)
    {
      switch (featureID)
      {
        case LLVM_IRPackage.PARAMETER_ATTRIBUTES__ATTRIBUTES:
          return attributes != null && !attributes.isEmpty();
      }
      return super.eIsSet(featureID);
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    @Override
    public String toString()
    {
      if (eIsProxy()) return super.toString();
  
      StringBuffer result = new StringBuffer(super.toString());
      result.append(" (attributes: ");
      result.append(attributes);
      result.append(')');
      return result.toString();
    }
  
  } //ParameterAttributesImpl
  