org.apache.tuscany.sdo.impl
Class EnumImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.ENamedElementImpl
                          extended by org.eclipse.emf.ecore.impl.EClassifierImpl
                              extended by org.eclipse.emf.ecore.impl.EDataTypeImpl
                                  extended by org.eclipse.emf.ecore.impl.EEnumImpl
                                      extended by org.apache.tuscany.sdo.impl.EnumImpl
All Implemented Interfaces:
Type, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EClassifier, org.eclipse.emf.ecore.EDataType, org.eclipse.emf.ecore.EEnum, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EClassifierExtendedMetaData.Holder

Deprecated. SDO doesn't support Enum types

public class EnumImpl
extends org.eclipse.emf.ecore.impl.EEnumImpl
implements Type

An implementation of the model object 'Enum'.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  List aliasNames
          Deprecated.  
 
Fields inherited from class org.eclipse.emf.ecore.impl.EEnumImpl
eLiterals
 
Fields inherited from class org.eclipse.emf.ecore.impl.EDataTypeImpl
defaultValue, defaultValueIsSet, SERIALIZABLE_EDEFAULT, SERIALIZABLE_EFLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.EClassifierImpl
DEFAULT_VALUE_EDEFAULT, eClassifierExtendedMetaData, eTypeParameters, generatedInstanceClassName, INSTANCE_CLASS_EDEFAULT, INSTANCE_CLASS_NAME_EDEFAULT, instanceClass, instanceClassName, instanceTypeName, metaObjectID
 
Fields inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected EnumImpl()
          Deprecated.  
 
Method Summary
protected  org.eclipse.emf.ecore.EClass eStaticClass()
          Deprecated.  
 Object get(Property property)
          Deprecated. Returns the value of the specified instance property of this Type.
 List getAliasNames()
          Deprecated.  
 List getBaseTypes()
          Deprecated.  
 List getDeclaredProperties()
          Deprecated.  
 List getInstanceProperties()
          Deprecated. Returns a read-only List of instance Properties available on this Type.
 List getProperties()
          Deprecated.  
 Property getProperty(String propertyName)
          Deprecated.  
 String getURI()
          Deprecated.  
 boolean isAbstract()
          Deprecated.  
 boolean isDataType()
          Deprecated.  
 boolean isOpen()
          Deprecated.  
 boolean isSequenced()
          Deprecated.  
 
Methods inherited from class org.eclipse.emf.ecore.impl.EEnumImpl
eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eUnset, freeze, getDefaultValue, getEEnumLiteral, getEEnumLiteral, getEEnumLiteralByLiteral, getELiterals, isInstance, setDataTypeGeneratedInstanceClass
 
Methods inherited from class org.eclipse.emf.ecore.impl.EDataTypeImpl
isSerializable, setGeneratedInstanceClass, setInstanceClassGen, setSerializable, toString
 
Methods inherited from class org.eclipse.emf.ecore.impl.EClassifierImpl
basicGetEPackage, basicSetInstanceClassName, basicSetInstanceTypeName, dynamicIsInstance, eBasicRemoveFromContainerFeature, eBasicSetContainer, getClassForName, getClassifierID, getEPackage, getEPackageGen, getETypeParameters, getExtendedMetaData, getInstanceClass, getInstanceClassGen, getInstanceClassName, getInstanceClassNameGen, getInstanceTypeName, getPrimitiveOrArrayClass, isSetInstanceClassName, isSetInstanceTypeName, setClassifierID, setExtendedMetaData, setInstanceClass, setInstanceClassName, setInstanceClassNameGen, setInstanceTypeName, setName, unsetInstanceClassName, unsetInstanceTypeName
 
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
eContents, eCrossReferences, getName, getNameGen
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
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 commonj.sdo.Type
getInstanceClass, getName, isInstance
 
Methods inherited from interface org.eclipse.emf.ecore.EDataType
isSerializable, setSerializable
 
Methods inherited from interface org.eclipse.emf.ecore.EClassifier
getClassifierID, getEPackage, getETypeParameters, getInstanceClass, getInstanceClassName, getInstanceTypeName, setInstanceClass, setInstanceClassName, setInstanceTypeName
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
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

aliasNames

protected List aliasNames
Deprecated. 
Constructor Detail

EnumImpl

protected EnumImpl()
Deprecated. 

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()
Deprecated. 

Overrides:
eStaticClass in class org.eclipse.emf.ecore.impl.EEnumImpl

getURI

public String getURI()
Deprecated. 

Specified by:
getURI in interface Type
Returns:
the namespace URI.

isDataType

public boolean isDataType()
Deprecated. 

Specified by:
isDataType in interface Type
Returns:
true if Type specifies DataTypes, false for DataObjects.

isOpen

public boolean isOpen()
Deprecated. 

Specified by:
isOpen in interface Type
Returns:
true if this Type allows open content.

isSequenced

public boolean isSequenced()
Deprecated. 

Specified by:
isSequenced in interface Type
Returns:
true if this Type specifies Sequenced DataObjects.

getAliasNames

public List getAliasNames()
Deprecated. 

Specified by:
getAliasNames in interface Type
Returns:
a list of alias names for this Type.

getDeclaredProperties

public List getDeclaredProperties()
Deprecated. 

Specified by:
getDeclaredProperties in interface Type
Returns:
the Properties declared in this Type.

getProperties

public List getProperties()
Deprecated. 

Specified by:
getProperties in interface Type
Returns:
the Properties of the type.
See Also:
Property.getContainingType()

getBaseTypes

public List getBaseTypes()
Deprecated. 

Specified by:
getBaseTypes in interface Type
Returns:
the List of base Types for this Type.

getProperty

public Property getProperty(String propertyName)
Deprecated. 

Specified by:
getProperty in interface Type
Returns:
the Property with the specified name.
See Also:
Type.getProperties()

isAbstract

public boolean isAbstract()
Deprecated. 

Specified by:
isAbstract in interface Type
Returns:
true if this Type is abstract.

getInstanceProperties

public List getInstanceProperties()
Deprecated. 
Description copied from interface: Type
Returns a read-only List of instance Properties available on this Type.

This list includes, at a minimum, any open content properties (extensions) added to the object before defining the Type's Type. Implementations may, but are not required to in the 2.1 version of SDO, provide additional instance properties.

Specified by:
getInstanceProperties in interface Type
Returns:
the List of instance Properties on this Type.

get

public Object get(Property property)
Deprecated. 
Description copied from interface: Type
Returns the value of the specified instance property of this Type.

Specified by:
get in interface Type
Parameters:
property - one of the properties returned by Type.getInstanceProperties().
Returns:
the value of the specified property.
See Also:
DataObject.get(Property)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.