Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 05e5fcf8c801ac3ac472eafb4b16473fa3fcf869 (plain) (tree)
1
2
3
4
5
6
7
  
                                                                            



                                                                        
  
















                                                                                                                
       
       
                                                                                                      
        
  





                                                                                           








                                                  









                                                             









                                                  








                                                                                    







                                                                      
/*
 * Copyright (c) 2011, 2012, 2015 Eike Stepper (Loehne, Germany) and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Eike Stepper - initial API and implementation
 */
package org.eclipse.emf.cdo.tests.model3.impl;

import org.eclipse.emf.cdo.tests.model3.ClassWithIDAttribute;
import org.eclipse.emf.cdo.tests.model3.Model3Package;

import org.eclipse.emf.internal.cdo.CDOObjectImpl;

import org.eclipse.emf.ecore.EClass;

/**
 * <!-- begin-user-doc --> An implementation of the model object '<em><b>Class With ID Attribute</b></em>'. <!--
 * end-user-doc -->
 * <p>
 * The following features are implemented:
 * </p>
 * <ul>
 *   <li>{@link org.eclipse.emf.cdo.tests.model3.impl.ClassWithIDAttributeImpl#getId <em>Id</em>}</li>
 * </ul>
 *
 * @generated
 */
public class ClassWithIDAttributeImpl extends CDOObjectImpl implements ClassWithIDAttribute
{
  /**
   * <!-- begin-user-doc --> <!-- end-user-doc -->
   * @generated
   */
  protected ClassWithIDAttributeImpl()
  {
    super();
  }

  /**
   * <!-- begin-user-doc --> <!-- end-user-doc -->
   * @generated
   */
  @Override
  protected EClass eStaticClass()
  {
    return Model3Package.eINSTANCE.getClassWithIDAttribute();
  }

  /**
   * <!-- begin-user-doc --> <!-- end-user-doc -->
   * @generated
   */
  @Override
  protected int eStaticFeatureCount()
  {
    return 0;
  }

  /**
   * <!-- begin-user-doc --> <!-- end-user-doc -->
   * @generated
   */
  public String getId()
  {
    return (String)eGet(Model3Package.eINSTANCE.getClassWithIDAttribute_Id(), true);
  }

  /**
   * <!-- begin-user-doc --> <!-- end-user-doc -->
   * @generated
   */
  public void setId(String newId)
  {
    eSet(Model3Package.eINSTANCE.getClassWithIDAttribute_Id(), newId);
  }

} // ClassWithIDAttributeImpl

Back to the top