org.eclipse.emf.ecore.xml.type.impl
Class SimpleAnyTypeImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.emf.ecore.xml.type.impl.AnyTypeImpl
                  extended byorg.eclipse.emf.ecore.xml.type.impl.SimpleAnyTypeImpl
All Implemented Interfaces:
AnyType, EObject, InternalEObject, Notifier, SimpleAnyType

public class SimpleAnyTypeImpl
extends AnyTypeImpl
implements SimpleAnyType

An implementation of the model object 'Simple Any Type'.

The following features are implemented:


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  EDataType instanceType
          The cached value of the 'Instance Type' reference
protected static String RAW_VALUE_EDEFAULT
          The default value of the 'Raw Value' attribute
protected static Object VALUE_EDEFAULT
          The default value of the 'Value' attribute
 
Fields inherited from class org.eclipse.emf.ecore.xml.type.impl.AnyTypeImpl
anyAttribute, mixed
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected SimpleAnyTypeImpl()
           
 
Method Summary
 Object eGet(EStructuralFeature eFeature, boolean resolve)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
           
 boolean eIsSet(EStructuralFeature eFeature)
           
 void eSet(EStructuralFeature eFeature, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(EStructuralFeature eFeature)
           
 EDataType getInstanceType()
           
 String getRawValue()
           
 Object getValue()
           
 void setInstanceType(EDataType newInstanceType)
           
 void setRawValue(String newRawValue)
           
 void setValue(Object newValue)
           
 
Methods inherited from class org.eclipse.emf.ecore.xml.type.impl.AnyTypeImpl
getAny, getAnyAttribute, getMixed, toString
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eInverseAdd, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eURIFragmentSegment
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.xml.type.AnyType
getAny, getAnyAttribute, getMixed
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

RAW_VALUE_EDEFAULT

protected static final String RAW_VALUE_EDEFAULT
The default value of the 'Raw Value' attribute.

See Also:
getRawValue()

VALUE_EDEFAULT

protected static final Object VALUE_EDEFAULT
The default value of the 'Value' attribute.

See Also:
getValue()

instanceType

protected EDataType instanceType
The cached value of the 'Instance Type' reference.

See Also:
getInstanceType()
Constructor Detail

SimpleAnyTypeImpl

protected SimpleAnyTypeImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class AnyTypeImpl

getRawValue

public String getRawValue()

Specified by:
getRawValue in interface SimpleAnyType
Returns:
the value of the 'Raw Value' attribute.
See Also:
SimpleAnyType.setRawValue(String), XMLTypePackage.getSimpleAnyType_RawValue()

setRawValue

public void setRawValue(String newRawValue)

Specified by:
setRawValue in interface SimpleAnyType
Parameters:
newRawValue - the new value of the 'Raw Value' attribute.
See Also:
SimpleAnyType.getRawValue()

getValue

public Object getValue()

Specified by:
getValue in interface SimpleAnyType
Returns:
the value of the 'Value' attribute.
See Also:
SimpleAnyType.setValue(Object), XMLTypePackage.getSimpleAnyType_Value()

setValue

public void setValue(Object newValue)

Specified by:
setValue in interface SimpleAnyType
Parameters:
newValue - the new value of the 'Value' attribute.
See Also:
SimpleAnyType.getValue()

getInstanceType

public EDataType getInstanceType()

Specified by:
getInstanceType in interface SimpleAnyType
Returns:
the value of the 'Instance Type' reference.
See Also:
SimpleAnyType.setInstanceType(EDataType), XMLTypePackage.getSimpleAnyType_InstanceType()

setInstanceType

public void setInstanceType(EDataType newInstanceType)

Specified by:
setInstanceType in interface SimpleAnyType
Parameters:
newInstanceType - the new value of the 'Instance Type' reference.
See Also:
SimpleAnyType.getInstanceType()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        Class baseClass,
                                        NotificationChain msgs)

Specified by:
eInverseRemove in interface InternalEObject
Overrides:
eInverseRemove in class AnyTypeImpl

eGet

public Object eGet(EStructuralFeature eFeature,
                   boolean resolve)

Specified by:
eGet in interface EObject
Overrides:
eGet in class AnyTypeImpl

eSet

public void eSet(EStructuralFeature eFeature,
                 Object newValue)

Specified by:
eSet in interface EObject
Overrides:
eSet in class AnyTypeImpl

eUnset

public void eUnset(EStructuralFeature eFeature)

Specified by:
eUnset in interface EObject
Overrides:
eUnset in class AnyTypeImpl

eIsSet

public boolean eIsSet(EStructuralFeature eFeature)

Specified by:
eIsSet in interface EObject
Overrides:
eIsSet in class AnyTypeImpl

Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.