/*
* Copyright (c) 2010-2013, 2015 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.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
* An implementation of the model object 'Ref Multi Non Contained Unsettable'.
*
*
* The following features are implemented:
*
*
* - {@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiNonContainedUnsettableImpl#getElements Elements}
*
*
* @generated
*/
public class RefMultiNonContainedUnsettableImpl extends CDOObjectImpl implements RefMultiNonContainedUnsettable
{
/**
*
* @generated
*/
protected RefMultiNonContainedUnsettableImpl()
{
super();
}
/**
*
* @generated
*/
@Override
protected EClass eStaticClass()
{
return model4Package.eINSTANCE.getRefMultiNonContainedUnsettable();
}
/**
*
* @generated
*/
@Override
protected int eStaticFeatureCount()
{
return 0;
}
/**
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getElements()
{
return (EList)eGet(
model4Package.eINSTANCE.getRefMultiNonContainedUnsettable_Elements(), true);
}
/**
*
* @generated
*/
public void unsetElements()
{
eUnset(model4Package.eINSTANCE.getRefMultiNonContainedUnsettable_Elements());
}
/**
*
* @generated
*/
public boolean isSetElements()
{
return eIsSet(model4Package.eINSTANCE.getRefMultiNonContainedUnsettable_Elements());
}
} // RefMultiNonContainedUnsettableImpl