content: /**
   */
  package com.intel.llvm.ireditor.lLVM_IR.impl;
  
  import com.intel.llvm.ireditor.lLVM_IR.InlineAsm;
  import com.intel.llvm.ireditor.lLVM_IR.LLVM_IRPackage;
  
  import org.eclipse.emf.common.notify.Notification;
  
  import org.eclipse.emf.ecore.EClass;
  
  import org.eclipse.emf.ecore.impl.ENotificationImpl;
  
  /**
   * <!-- begin-user-doc -->
   * An implementation of the model object '<em><b>Inline Asm</b></em>'.
   * <!-- end-user-doc -->
   * <p>
   * The following features are implemented:
   * <ul>
   *   <li>{@link com.intel.llvm.ireditor.lLVM_IR.impl.InlineAsmImpl#getAsmLine <em>Asm Line</em>}</li>
   * </ul>
   * </p>
   *
   * @generated
   */
  public class InlineAsmImpl extends TopLevelElementImpl implements InlineAsm
  {
    /**
     * The default value of the '{@link #getAsmLine() <em>Asm Line</em>}' attribute.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @see #getAsmLine()
     * @generated
     * @ordered
     */
    protected static final String ASM_LINE_EDEFAULT = null;
  
    /**
     * The cached value of the '{@link #getAsmLine() <em>Asm Line</em>}' attribute.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @see #getAsmLine()
     * @generated
     * @ordered
     */
    protected String asmLine = ASM_LINE_EDEFAULT;
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    protected InlineAsmImpl()
    {
      super();
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    @Override
    protected EClass eStaticClass()
    {
      return LLVM_IRPackage.Literals.INLINE_ASM;
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public String getAsmLine()
    {
      return asmLine;
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public void setAsmLine(String newAsmLine)
    {
      String oldAsmLine = asmLine;
      asmLine = newAsmLine;
      if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, LLVM_IRPackage.INLINE_ASM__ASM_LINE, oldAsmLine, asmLine));
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    @Override
    public Object eGet(int featureID, boolean resolve, boolean coreType)
    {
      switch (featureID)
      {
        case LLVM_IRPackage.INLINE_ASM__ASM_LINE:
          return getAsmLine();
      }
      return super.eGet(featureID, resolve, coreType);
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    @Override
    public void eSet(int featureID, Object newValue)
    {
      switch (featureID)
      {
        case LLVM_IRPackage.INLINE_ASM__ASM_LINE:
          setAsmLine((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.INLINE_ASM__ASM_LINE:
          setAsmLine(ASM_LINE_EDEFAULT);
          return;
      }
      super.eUnset(featureID);
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    @Override
    public boolean eIsSet(int featureID)
    {
      switch (featureID)
      {
        case LLVM_IRPackage.INLINE_ASM__ASM_LINE:
          return ASM_LINE_EDEFAULT == null ? asmLine != null : !ASM_LINE_EDEFAULT.equals(asmLine);
      }
      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(" (asmLine: ");
      result.append(asmLine);
      result.append(')');
      return result.toString();
    }
  
  } //InlineAsmImpl
  