/**
* Copyright (c) 2004 - 2010 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
*
* $Id: MapHolderImpl.java,v 1.1 2010-03-11 20:34:52 mfluegge Exp $
*/
package org.eclipse.emf.cdo.tests.model2.impl;
import org.eclipse.emf.cdo.tests.model1.Address;
import org.eclipse.emf.cdo.tests.model1.VAT;
import org.eclipse.emf.cdo.tests.model2.MapHolder;
import org.eclipse.emf.cdo.tests.model2.Model2Package;
import org.eclipse.emf.internal.cdo.CDOObjectImpl;
import org.eclipse.emf.common.util.EMap;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
/**
* An implementation of the model object 'Map Holder'.
*
* The following features are implemented:
*
* - {@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getIntegerToStringMap Integer To String Map}
* - {@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getStringToStringMap String To String Map}
* - {@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getStringToVATMap String To VAT Map}
* - {@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getStringToAddressContainmentMap String To Address
* Containment Map}
* - {@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getStringToAddressReferenceMap String To Address
* Reference Map}
* - {@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getEObjectToEObjectMap EObject To EObject Map
* }
* - {@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getEObjectToEObjectKeyContainedMap EObject To
* EObject Key Contained Map}
* - {@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getEObjectToEObjectBothContainedMap EObject To
* EObject Both Contained Map}
* - {@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getEObjectToEObjectValueContainedMap EObject To
* EObject Value Contained Map}
*
*
*
* @generated
*/
public class MapHolderImpl extends CDOObjectImpl implements MapHolder
{
/**
*
*
* @generated
*/
protected MapHolderImpl()
{
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass()
{
return Model2Package.Literals.MAP_HOLDER;
}
/**
*
*
* @generated
*/
@Override
protected int eStaticFeatureCount()
{
return 0;
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EMap getIntegerToStringMap()
{
return (EMap)eGet(Model2Package.Literals.MAP_HOLDER__INTEGER_TO_STRING_MAP, true);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EMap getStringToStringMap()
{
return (EMap)eGet(Model2Package.Literals.MAP_HOLDER__STRING_TO_STRING_MAP, true);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EMap getStringToVATMap()
{
return (EMap)eGet(Model2Package.Literals.MAP_HOLDER__STRING_TO_VAT_MAP, true);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EMap getStringToAddressContainmentMap()
{
return (EMap)eGet(Model2Package.Literals.MAP_HOLDER__STRING_TO_ADDRESS_CONTAINMENT_MAP, true);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EMap getStringToAddressReferenceMap()
{
return (EMap)eGet(Model2Package.Literals.MAP_HOLDER__STRING_TO_ADDRESS_REFERENCE_MAP, true);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EMap getEObjectToEObjectMap()
{
return (EMap)eGet(Model2Package.Literals.MAP_HOLDER__EOBJECT_TO_EOBJECT_MAP, true);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EMap getEObjectToEObjectKeyContainedMap()
{
return (EMap)eGet(Model2Package.Literals.MAP_HOLDER__EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP, true);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EMap getEObjectToEObjectBothContainedMap()
{
return (EMap)eGet(Model2Package.Literals.MAP_HOLDER__EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP, true);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EMap getEObjectToEObjectValueContainedMap()
{
return (EMap)eGet(Model2Package.Literals.MAP_HOLDER__EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP, true);
}
} // MapHolderImpl