/**
*
*
*
* $Id$
*/
package net.opengis.ows11.impl;
import java.util.Collection;
import net.opengis.ows11.AllowedValuesType;
import net.opengis.ows11.AnyValueType;
import net.opengis.ows11.DomainMetadataType;
import net.opengis.ows11.MetadataType;
import net.opengis.ows11.NoValuesType;
import net.opengis.ows11.Ows11Package;
import net.opengis.ows11.UnNamedDomainType;
import net.opengis.ows11.ValueType;
import net.opengis.ows11.ValuesReferenceType;
import org.eclipse.emf.common.notify.Notification;
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.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.EObjectImpl;
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
/**
*
* An implementation of the model object 'Un Named Domain Type'.
*
*
* The following features are implemented:
*
* - {@link net.opengis.ows11.impl.UnNamedDomainTypeImpl#getAllowedValues Allowed Values}
* - {@link net.opengis.ows11.impl.UnNamedDomainTypeImpl#getAnyValue Any Value}
* - {@link net.opengis.ows11.impl.UnNamedDomainTypeImpl#getNoValues No Values}
* - {@link net.opengis.ows11.impl.UnNamedDomainTypeImpl#getValuesReference Values Reference}
* - {@link net.opengis.ows11.impl.UnNamedDomainTypeImpl#getDefaultValue Default Value}
* - {@link net.opengis.ows11.impl.UnNamedDomainTypeImpl#getMeaning Meaning}
* - {@link net.opengis.ows11.impl.UnNamedDomainTypeImpl#getDataType Data Type}
* - {@link net.opengis.ows11.impl.UnNamedDomainTypeImpl#getUOM UOM}
* - {@link net.opengis.ows11.impl.UnNamedDomainTypeImpl#getReferenceSystem Reference System}
* - {@link net.opengis.ows11.impl.UnNamedDomainTypeImpl#getMetadata Metadata}
*
*
*
* @generated
*/
public class UnNamedDomainTypeImpl extends EObjectImpl implements UnNamedDomainType {
/**
* The cached value of the '{@link #getAllowedValues() Allowed Values}' containment reference.
*
*
* @see #getAllowedValues()
* @generated
* @ordered
*/
protected AllowedValuesType allowedValues;
/**
* The cached value of the '{@link #getAnyValue() Any Value}' containment reference.
*
*
* @see #getAnyValue()
* @generated
* @ordered
*/
protected AnyValueType anyValue;
/**
* The cached value of the '{@link #getNoValues() No Values}' containment reference.
*
*
* @see #getNoValues()
* @generated
* @ordered
*/
protected NoValuesType noValues;
/**
* The cached value of the '{@link #getValuesReference() Values Reference}' containment reference.
*
*
* @see #getValuesReference()
* @generated
* @ordered
*/
protected ValuesReferenceType valuesReference;
/**
* The cached value of the '{@link #getDefaultValue() Default Value}' containment reference.
*
*
* @see #getDefaultValue()
* @generated
* @ordered
*/
protected ValueType defaultValue;
/**
* The cached value of the '{@link #getMeaning() Meaning}' containment reference.
*
*
* @see #getMeaning()
* @generated
* @ordered
*/
protected DomainMetadataType meaning;
/**
* The cached value of the '{@link #getDataType() Data Type}' containment reference.
*
*
* @see #getDataType()
* @generated
* @ordered
*/
protected DomainMetadataType dataType;
/**
* The cached value of the '{@link #getUOM() UOM}' containment reference.
*
*
* @see #getUOM()
* @generated
* @ordered
*/
protected DomainMetadataType uOM;
/**
* The cached value of the '{@link #getReferenceSystem() Reference System}' containment reference.
*
*
* @see #getReferenceSystem()
* @generated
* @ordered
*/
protected DomainMetadataType referenceSystem;
/**
* The cached value of the '{@link #getMetadata() Metadata}' containment reference list.
*
*
* @see #getMetadata()
* @generated
* @ordered
*/
protected EList metadata;
/**
*
*
* @generated
*/
protected UnNamedDomainTypeImpl() {
super();
}
/**
*
*
* @generated
*/
protected EClass eStaticClass() {
return Ows11Package.Literals.UN_NAMED_DOMAIN_TYPE;
}
/**
*
*
* @generated
*/
public AllowedValuesType getAllowedValues() {
return allowedValues;
}
/**
*
*
* @generated
*/
public NotificationChain basicSetAllowedValues(AllowedValuesType newAllowedValues, NotificationChain msgs) {
AllowedValuesType oldAllowedValues = allowedValues;
allowedValues = newAllowedValues;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__ALLOWED_VALUES, oldAllowedValues, newAllowedValues);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
*
*
* @generated
*/
public void setAllowedValues(AllowedValuesType newAllowedValues) {
if (newAllowedValues != allowedValues) {
NotificationChain msgs = null;
if (allowedValues != null)
msgs = ((InternalEObject)allowedValues).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__ALLOWED_VALUES, null, msgs);
if (newAllowedValues != null)
msgs = ((InternalEObject)newAllowedValues).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__ALLOWED_VALUES, null, msgs);
msgs = basicSetAllowedValues(newAllowedValues, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__ALLOWED_VALUES, newAllowedValues, newAllowedValues));
}
/**
*
*
* @generated
*/
public AnyValueType getAnyValue() {
return anyValue;
}
/**
*
*
* @generated
*/
public NotificationChain basicSetAnyValue(AnyValueType newAnyValue, NotificationChain msgs) {
AnyValueType oldAnyValue = anyValue;
anyValue = newAnyValue;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__ANY_VALUE, oldAnyValue, newAnyValue);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
*
*
* @generated
*/
public void setAnyValue(AnyValueType newAnyValue) {
if (newAnyValue != anyValue) {
NotificationChain msgs = null;
if (anyValue != null)
msgs = ((InternalEObject)anyValue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__ANY_VALUE, null, msgs);
if (newAnyValue != null)
msgs = ((InternalEObject)newAnyValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__ANY_VALUE, null, msgs);
msgs = basicSetAnyValue(newAnyValue, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__ANY_VALUE, newAnyValue, newAnyValue));
}
/**
*
*
* @generated
*/
public NoValuesType getNoValues() {
return noValues;
}
/**
*
*
* @generated
*/
public NotificationChain basicSetNoValues(NoValuesType newNoValues, NotificationChain msgs) {
NoValuesType oldNoValues = noValues;
noValues = newNoValues;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__NO_VALUES, oldNoValues, newNoValues);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
*
*
* @generated
*/
public void setNoValues(NoValuesType newNoValues) {
if (newNoValues != noValues) {
NotificationChain msgs = null;
if (noValues != null)
msgs = ((InternalEObject)noValues).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__NO_VALUES, null, msgs);
if (newNoValues != null)
msgs = ((InternalEObject)newNoValues).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__NO_VALUES, null, msgs);
msgs = basicSetNoValues(newNoValues, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__NO_VALUES, newNoValues, newNoValues));
}
/**
*
*
* @generated
*/
public ValuesReferenceType getValuesReference() {
return valuesReference;
}
/**
*
*
* @generated
*/
public NotificationChain basicSetValuesReference(ValuesReferenceType newValuesReference, NotificationChain msgs) {
ValuesReferenceType oldValuesReference = valuesReference;
valuesReference = newValuesReference;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__VALUES_REFERENCE, oldValuesReference, newValuesReference);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
*
*
* @generated
*/
public void setValuesReference(ValuesReferenceType newValuesReference) {
if (newValuesReference != valuesReference) {
NotificationChain msgs = null;
if (valuesReference != null)
msgs = ((InternalEObject)valuesReference).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__VALUES_REFERENCE, null, msgs);
if (newValuesReference != null)
msgs = ((InternalEObject)newValuesReference).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__VALUES_REFERENCE, null, msgs);
msgs = basicSetValuesReference(newValuesReference, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__VALUES_REFERENCE, newValuesReference, newValuesReference));
}
/**
*
*
* @generated
*/
public ValueType getDefaultValue() {
return defaultValue;
}
/**
*
*
* @generated
*/
public NotificationChain basicSetDefaultValue(ValueType newDefaultValue, NotificationChain msgs) {
ValueType oldDefaultValue = defaultValue;
defaultValue = newDefaultValue;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__DEFAULT_VALUE, oldDefaultValue, newDefaultValue);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
*
*
* @generated
*/
public void setDefaultValue(ValueType newDefaultValue) {
if (newDefaultValue != defaultValue) {
NotificationChain msgs = null;
if (defaultValue != null)
msgs = ((InternalEObject)defaultValue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__DEFAULT_VALUE, null, msgs);
if (newDefaultValue != null)
msgs = ((InternalEObject)newDefaultValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__DEFAULT_VALUE, null, msgs);
msgs = basicSetDefaultValue(newDefaultValue, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__DEFAULT_VALUE, newDefaultValue, newDefaultValue));
}
/**
*
*
* @generated
*/
public DomainMetadataType getMeaning() {
return meaning;
}
/**
*
*
* @generated
*/
public NotificationChain basicSetMeaning(DomainMetadataType newMeaning, NotificationChain msgs) {
DomainMetadataType oldMeaning = meaning;
meaning = newMeaning;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__MEANING, oldMeaning, newMeaning);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
*
*
* @generated
*/
public void setMeaning(DomainMetadataType newMeaning) {
if (newMeaning != meaning) {
NotificationChain msgs = null;
if (meaning != null)
msgs = ((InternalEObject)meaning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__MEANING, null, msgs);
if (newMeaning != null)
msgs = ((InternalEObject)newMeaning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__MEANING, null, msgs);
msgs = basicSetMeaning(newMeaning, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__MEANING, newMeaning, newMeaning));
}
/**
*
*
* @generated
*/
public DomainMetadataType getDataType() {
return dataType;
}
/**
*
*
* @generated
*/
public NotificationChain basicSetDataType(DomainMetadataType newDataType, NotificationChain msgs) {
DomainMetadataType oldDataType = dataType;
dataType = newDataType;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__DATA_TYPE, oldDataType, newDataType);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
*
*
* @generated
*/
public void setDataType(DomainMetadataType newDataType) {
if (newDataType != dataType) {
NotificationChain msgs = null;
if (dataType != null)
msgs = ((InternalEObject)dataType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__DATA_TYPE, null, msgs);
if (newDataType != null)
msgs = ((InternalEObject)newDataType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__DATA_TYPE, null, msgs);
msgs = basicSetDataType(newDataType, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__DATA_TYPE, newDataType, newDataType));
}
/**
*
*
* @generated
*/
public DomainMetadataType getUOM() {
return uOM;
}
/**
*
*
* @generated
*/
public NotificationChain basicSetUOM(DomainMetadataType newUOM, NotificationChain msgs) {
DomainMetadataType oldUOM = uOM;
uOM = newUOM;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__UOM, oldUOM, newUOM);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
*
*
* @generated
*/
public void setUOM(DomainMetadataType newUOM) {
if (newUOM != uOM) {
NotificationChain msgs = null;
if (uOM != null)
msgs = ((InternalEObject)uOM).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__UOM, null, msgs);
if (newUOM != null)
msgs = ((InternalEObject)newUOM).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__UOM, null, msgs);
msgs = basicSetUOM(newUOM, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__UOM, newUOM, newUOM));
}
/**
*
*
* @generated
*/
public DomainMetadataType getReferenceSystem() {
return referenceSystem;
}
/**
*
*
* @generated
*/
public NotificationChain basicSetReferenceSystem(DomainMetadataType newReferenceSystem, NotificationChain msgs) {
DomainMetadataType oldReferenceSystem = referenceSystem;
referenceSystem = newReferenceSystem;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__REFERENCE_SYSTEM, oldReferenceSystem, newReferenceSystem);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
*
*
* @generated
*/
public void setReferenceSystem(DomainMetadataType newReferenceSystem) {
if (newReferenceSystem != referenceSystem) {
NotificationChain msgs = null;
if (referenceSystem != null)
msgs = ((InternalEObject)referenceSystem).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__REFERENCE_SYSTEM, null, msgs);
if (newReferenceSystem != null)
msgs = ((InternalEObject)newReferenceSystem).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Ows11Package.UN_NAMED_DOMAIN_TYPE__REFERENCE_SYSTEM, null, msgs);
msgs = basicSetReferenceSystem(newReferenceSystem, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, Ows11Package.UN_NAMED_DOMAIN_TYPE__REFERENCE_SYSTEM, newReferenceSystem, newReferenceSystem));
}
/**
*
*
* @generated
*/
public EList getMetadata() {
if (metadata == null) {
metadata = new EObjectContainmentEList(MetadataType.class, this, Ows11Package.UN_NAMED_DOMAIN_TYPE__METADATA);
}
return metadata;
}
/**
*
*
* @generated
*/
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case Ows11Package.UN_NAMED_DOMAIN_TYPE__ALLOWED_VALUES:
return basicSetAllowedValues(null, msgs);
case Ows11Package.UN_NAMED_DOMAIN_TYPE__ANY_VALUE:
return basicSetAnyValue(null, msgs);
case Ows11Package.UN_NAMED_DOMAIN_TYPE__NO_VALUES:
return basicSetNoValues(null, msgs);
case Ows11Package.UN_NAMED_DOMAIN_TYPE__VALUES_REFERENCE:
return basicSetValuesReference(null, msgs);
case Ows11Package.UN_NAMED_DOMAIN_TYPE__DEFAULT_VALUE:
return basicSetDefaultValue(null, msgs);
case Ows11Package.UN_NAMED_DOMAIN_TYPE__MEANING:
return basicSetMeaning(null, msgs);
case Ows11Package.UN_NAMED_DOMAIN_TYPE__DATA_TYPE:
return basicSetDataType(null, msgs);
case Ows11Package.UN_NAMED_DOMAIN_TYPE__UOM:
return basicSetUOM(null, msgs);
case Ows11Package.UN_NAMED_DOMAIN_TYPE__REFERENCE_SYSTEM:
return basicSetReferenceSystem(null, msgs);
case Ows11Package.UN_NAMED_DOMAIN_TYPE__METADATA:
return ((InternalEList)getMetadata()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
*
*
* @generated
*/
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case Ows11Package.UN_NAMED_DOMAIN_TYPE__ALLOWED_VALUES:
return getAllowedValues();
case Ows11Package.UN_NAMED_DOMAIN_TYPE__ANY_VALUE:
return getAnyValue();
case Ows11Package.UN_NAMED_DOMAIN_TYPE__NO_VALUES:
return getNoValues();
case Ows11Package.UN_NAMED_DOMAIN_TYPE__VALUES_REFERENCE:
return getValuesReference();
case Ows11Package.UN_NAMED_DOMAIN_TYPE__DEFAULT_VALUE:
return getDefaultValue();
case Ows11Package.UN_NAMED_DOMAIN_TYPE__MEANING:
return getMeaning();
case Ows11Package.UN_NAMED_DOMAIN_TYPE__DATA_TYPE:
return getDataType();
case Ows11Package.UN_NAMED_DOMAIN_TYPE__UOM:
return getUOM();
case Ows11Package.UN_NAMED_DOMAIN_TYPE__REFERENCE_SYSTEM:
return getReferenceSystem();
case Ows11Package.UN_NAMED_DOMAIN_TYPE__METADATA:
return getMetadata();
}
return super.eGet(featureID, resolve, coreType);
}
/**
*
*
* @generated
*/
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case Ows11Package.UN_NAMED_DOMAIN_TYPE__ALLOWED_VALUES:
setAllowedValues((AllowedValuesType)newValue);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__ANY_VALUE:
setAnyValue((AnyValueType)newValue);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__NO_VALUES:
setNoValues((NoValuesType)newValue);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__VALUES_REFERENCE:
setValuesReference((ValuesReferenceType)newValue);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__DEFAULT_VALUE:
setDefaultValue((ValueType)newValue);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__MEANING:
setMeaning((DomainMetadataType)newValue);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__DATA_TYPE:
setDataType((DomainMetadataType)newValue);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__UOM:
setUOM((DomainMetadataType)newValue);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__REFERENCE_SYSTEM:
setReferenceSystem((DomainMetadataType)newValue);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__METADATA:
getMetadata().clear();
getMetadata().addAll((Collection)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
*
*
* @generated
*/
public void eUnset(int featureID) {
switch (featureID) {
case Ows11Package.UN_NAMED_DOMAIN_TYPE__ALLOWED_VALUES:
setAllowedValues((AllowedValuesType)null);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__ANY_VALUE:
setAnyValue((AnyValueType)null);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__NO_VALUES:
setNoValues((NoValuesType)null);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__VALUES_REFERENCE:
setValuesReference((ValuesReferenceType)null);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__DEFAULT_VALUE:
setDefaultValue((ValueType)null);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__MEANING:
setMeaning((DomainMetadataType)null);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__DATA_TYPE:
setDataType((DomainMetadataType)null);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__UOM:
setUOM((DomainMetadataType)null);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__REFERENCE_SYSTEM:
setReferenceSystem((DomainMetadataType)null);
return;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__METADATA:
getMetadata().clear();
return;
}
super.eUnset(featureID);
}
/**
*
*
* @generated
*/
public boolean eIsSet(int featureID) {
switch (featureID) {
case Ows11Package.UN_NAMED_DOMAIN_TYPE__ALLOWED_VALUES:
return allowedValues != null;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__ANY_VALUE:
return anyValue != null;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__NO_VALUES:
return noValues != null;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__VALUES_REFERENCE:
return valuesReference != null;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__DEFAULT_VALUE:
return defaultValue != null;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__MEANING:
return meaning != null;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__DATA_TYPE:
return dataType != null;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__UOM:
return uOM != null;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__REFERENCE_SYSTEM:
return referenceSystem != null;
case Ows11Package.UN_NAMED_DOMAIN_TYPE__METADATA:
return metadata != null && !metadata.isEmpty();
}
return super.eIsSet(featureID);
}
} //UnNamedDomainTypeImpl