/**
* Copyright (c) 2004 - 2011 Eike Stepper (Berlin, 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.model4.impl;
import org.eclipse.emf.cdo.tests.model4.MultiNonContainedUnsettableElement;
import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedUnsettable;
import org.eclipse.emf.cdo.tests.model4.model4Package;
import org.eclipse.emf.internal.cdo.CDOObjectImpl;
import org.eclipse.emf.ecore.EClass;
/**
* An implementation of the model object 'Multi Non Contained Unsettable Element
* '.
*
* The following features are implemented:
*
* - {@link org.eclipse.emf.cdo.tests.model4.impl.MultiNonContainedUnsettableElementImpl#getName Name}
* - {@link org.eclipse.emf.cdo.tests.model4.impl.MultiNonContainedUnsettableElementImpl#getParent Parent}
*
*
*
* @generated
*/
public class MultiNonContainedUnsettableElementImpl extends CDOObjectImpl implements MultiNonContainedUnsettableElement
{
/**
*
*
* @generated
*/
protected MultiNonContainedUnsettableElementImpl()
{
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass()
{
return model4Package.Literals.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT;
}
/**
*
*
* @generated
*/
@Override
protected int eStaticFeatureCount()
{
return 0;
}
/**
*
*
* @generated
*/
public String getName()
{
return (String)eGet(model4Package.Literals.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__NAME, true);
}
/**
*
*
* @generated
*/
public void setName(String newName)
{
eSet(model4Package.Literals.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__NAME, newName);
}
/**
*
*
* @generated
*/
public RefMultiNonContainedUnsettable getParent()
{
return (RefMultiNonContainedUnsettable)eGet(model4Package.Literals.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT,
true);
}
/**
*
*
* @generated
*/
public void setParent(RefMultiNonContainedUnsettable newParent)
{
eSet(model4Package.Literals.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT, newParent);
}
/**
*
*
* @generated
*/
public void unsetParent()
{
eUnset(model4Package.Literals.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT);
}
/**
*
*
* @generated
*/
public boolean isSetParent()
{
return eIsSet(model4Package.Literals.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT);
}
} // MultiNonContainedUnsettableElementImpl