org.apache.tuscany.sdo.impl
Class SDOFactoryImpl

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.EFactoryImpl
                          extended by org.apache.tuscany.sdo.impl.SDOFactoryImpl
All Implemented Interfaces:
SDOFactory, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EFactory, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject

public class SDOFactoryImpl
extends org.eclipse.emf.ecore.impl.EFactoryImpl
implements SDOFactory

An implementation of the model Factory.


Nested Class Summary
static class SDOFactoryImpl.SDOEcoreFactory
           
 
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
 
Fields inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
EDATE_FORMATS, ePackage
 
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.apache.tuscany.sdo.SDOFactory
eINSTANCE
 
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
SDOFactoryImpl()
          Creates an instance of the factory.
 
Method Summary
 String convertToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
           
 org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)
           
 AnyTypeDataObject createAnyTypeDataObject()
           
 Property createAttribute()
           
 ChangeSummary createChangeSummary()
           
 ChangeSummary.Setting createChangeSummarySetting()
           
 ChangeSummary.Setting createChangeSummarySetting(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, Object value, boolean isSet)
           
 Type createClass()
           
 DataGraph createDataGraph()
           
 Type createDataType()
           
 DataObject createDynamicDataObject()
           
 DataObject createDynamicStoreDataObject()
           
 Type createEnum()
           
 DataObject createExtensibleDataObject()
           
 Object createFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
           
 Property createReference()
           
 SimpleAnyTypeDataObject createSimpleAnyTypeDataObject()
           
 DataObject createStoreDataObject()
           
static SDOPackage getPackage()
          Deprecated.  
 SDOPackage getSDOPackage()
           
static SDOFactory init()
          Creates the default factory implementation.
 
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
basicCreate, basicSetEPackage, collapseWhiteSpace, convertToString, createFromString, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, 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, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, 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, eBasicRemoveFromContainerFeature, 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, toString
 
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.EFactory
getEPackage, setEPackage
 
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
 

Constructor Detail

SDOFactoryImpl

public SDOFactoryImpl()
Creates an instance of the factory.

Method Detail

init

public static SDOFactory init()
Creates the default factory implementation.


create

public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)

Specified by:
create in interface org.eclipse.emf.ecore.EFactory
Overrides:
create in class org.eclipse.emf.ecore.impl.EFactoryImpl

createFromString

public Object createFromString(org.eclipse.emf.ecore.EDataType eDataType,
                               String initialValue)

Specified by:
createFromString in interface org.eclipse.emf.ecore.EFactory
Overrides:
createFromString in class org.eclipse.emf.ecore.impl.EFactoryImpl

convertToString

public String convertToString(org.eclipse.emf.ecore.EDataType eDataType,
                              Object instanceValue)

Specified by:
convertToString in interface org.eclipse.emf.ecore.EFactory
Overrides:
convertToString in class org.eclipse.emf.ecore.impl.EFactoryImpl

createChangeSummary

public ChangeSummary createChangeSummary()

Specified by:
createChangeSummary in interface SDOFactory
Returns:
a new object of class 'Change Summary'.

createChangeSummarySetting

public ChangeSummary.Setting createChangeSummarySetting()

Specified by:
createChangeSummarySetting in interface SDOFactory
Returns:
a new object of class 'Change Summary Setting'.

createDataGraph

public DataGraph createDataGraph()

Specified by:
createDataGraph in interface SDOFactory
Returns:
a new object of class 'Data Graph'.

createAnyTypeDataObject

public AnyTypeDataObject createAnyTypeDataObject()

Specified by:
createAnyTypeDataObject in interface SDOFactory
Returns:
a new object of class 'Any Type Data Object'.

createSimpleAnyTypeDataObject

public SimpleAnyTypeDataObject createSimpleAnyTypeDataObject()

Specified by:
createSimpleAnyTypeDataObject in interface SDOFactory
Returns:
a new object of class 'Simple Any Type Data Object'.

createClass

public Type createClass()

Specified by:
createClass in interface SDOFactory
Returns:
a new object of class 'Class'.

createDataType

public Type createDataType()

Specified by:
createDataType in interface SDOFactory
Returns:
a new object of class 'Data Type'.

createAttribute

public Property createAttribute()

Specified by:
createAttribute in interface SDOFactory
Returns:
a new object of class 'Attribute'.

createReference

public Property createReference()

Specified by:
createReference in interface SDOFactory
Returns:
a new object of class 'Reference'.

createEnum

public Type createEnum()

Specified by:
createEnum in interface SDOFactory
Returns:
a new object of class 'Enum'.

createDynamicDataObject

public DataObject createDynamicDataObject()

Specified by:
createDynamicDataObject in interface SDOFactory
Returns:
a new object of class 'Dynamic Data Object'.

createStoreDataObject

public DataObject createStoreDataObject()

Specified by:
createStoreDataObject in interface SDOFactory
Returns:
a new object of class 'Store Data Object'.

createDynamicStoreDataObject

public DataObject createDynamicStoreDataObject()

Specified by:
createDynamicStoreDataObject in interface SDOFactory
Returns:
a new object of class 'Dynamic Store Data Object'.

createExtensibleDataObject

public DataObject createExtensibleDataObject()

Specified by:
createExtensibleDataObject in interface SDOFactory
Returns:
a new object of class 'Extensible Data Object'.

getSDOPackage

public SDOPackage getSDOPackage()

Specified by:
getSDOPackage in interface SDOFactory
Returns:
the package supported by this factory.

getPackage

public static SDOPackage getPackage()
Deprecated. 


createChangeSummarySetting

public ChangeSummary.Setting createChangeSummarySetting(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature,
                                                        Object value,
                                                        boolean isSet)
Specified by:
createChangeSummarySetting in interface SDOFactory


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