/** * * * * $Id$ */ package net.opengis.wps.impl; import java.util.Collection; import net.opengis.ows11.CodeType; import net.opengis.wps.DescribeProcessType; import net.opengis.wps.WpsPackage; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.util.EObjectContainmentEList; import org.eclipse.emf.ecore.util.InternalEList; /** * * An implementation of the model object 'Describe Process Type'. * *

* The following features are implemented: *

*

* * @generated */ public class DescribeProcessTypeImpl extends RequestBaseTypeImpl implements DescribeProcessType { /** * The cached value of the '{@link #getIdentifier() Identifier}' containment reference list. * * * @see #getIdentifier() * @generated * @ordered */ protected EList identifier; /** * * * @generated */ protected DescribeProcessTypeImpl() { super(); } /** * * * @generated */ protected EClass eStaticClass() { return WpsPackage.eINSTANCE.getDescribeProcessType(); } /** * * * @generated */ public EList getIdentifier() { if (identifier == null) { identifier = new EObjectContainmentEList(CodeType.class, this, WpsPackage.DESCRIBE_PROCESS_TYPE__IDENTIFIER); } return identifier; } /** * * * @generated */ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case WpsPackage.DESCRIBE_PROCESS_TYPE__IDENTIFIER: return ((InternalEList)getIdentifier()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } /** * * * @generated */ public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case WpsPackage.DESCRIBE_PROCESS_TYPE__IDENTIFIER: return getIdentifier(); } return super.eGet(featureID, resolve, coreType); } /** * * * @generated */ public void eSet(int featureID, Object newValue) { switch (featureID) { case WpsPackage.DESCRIBE_PROCESS_TYPE__IDENTIFIER: getIdentifier().clear(); getIdentifier().addAll((Collection)newValue); return; } super.eSet(featureID, newValue); } /** * * * @generated */ public void eUnset(int featureID) { switch (featureID) { case WpsPackage.DESCRIBE_PROCESS_TYPE__IDENTIFIER: getIdentifier().clear(); return; } super.eUnset(featureID); } /** * * * @generated */ public boolean eIsSet(int featureID) { switch (featureID) { case WpsPackage.DESCRIBE_PROCESS_TYPE__IDENTIFIER: return identifier != null && !identifier.isEmpty(); } return super.eIsSet(featureID); } } //DescribeProcessTypeImpl