org.apache.tuscany.das.rdb.config.impl
Class ConfigFactoryImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.ecore.impl.FlatEObjectImpl
org.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.emf.ecore.impl.ENamedElementImpl
org.eclipse.emf.ecore.impl.EPackageImpl
org.apache.tuscany.sdo.impl.FactoryBase
org.apache.tuscany.das.rdb.config.impl.ConfigFactoryImpl
- All Implemented Interfaces:
- ConfigFactory, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EPackage, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EPackageExtendedMetaData.Holder
public class ConfigFactoryImpl
- extends org.apache.tuscany.sdo.impl.FactoryBase
- implements ConfigFactory
An implementation of the model Factory.
Generator information:
patternVersion=1.2; -noNotification -noUnsettable
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 |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EPackage |
org.eclipse.emf.ecore.EPackage.Descriptor, org.eclipse.emf.ecore.EPackage.Registry |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
org.eclipse.emf.ecore.InternalEObject.EStore |
Fields inherited from class org.apache.tuscany.sdo.impl.FactoryBase |
IS_ATTRIBUTE |
Fields inherited from class org.eclipse.emf.ecore.impl.EPackageImpl |
eClassifiers, ecoreFactory, ecorePackage, eFactoryInstance, eNameToEClassifierMap, ePackageExtendedMetaData, eSubpackages, IS_ABSTRACT, IS_CHANGEABLE, IS_COMPOSITE, IS_DERIVED, IS_GENERATED_INSTANCE_CLASS, IS_ID, IS_INTERFACE, IS_ORDERED, IS_RESOLVABLE, IS_RESOLVE_PROXIES, IS_SERIALIZABLE, IS_TRANSIENT, IS_UNIQUE, IS_UNSETTABLE, IS_VOLATILE, NS_PREFIX_EDEFAULT, NS_URI_EDEFAULT, nsPrefix, nsURI |
Fields inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl |
name, NAME_EDEFAULT |
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
eAnnotations, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG |
Fields inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl |
eContents, eCrossReferences, eProxyURI |
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 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.InternalEObject |
EOPPOSITE_FEATURE_BASE |
Methods inherited from class org.apache.tuscany.sdo.impl.FactoryBase |
addSuperType, addXSDMapping, addXSDMapping, addXSDMapping, createGlobalProperty, createGlobalProperty, createGlobalProperty, createProperty, createType, getLocalProperty, getProperty, getSequence, getStaticFactory, initializeProperty, initializeProperty, initializeType, initializeType, initializeType, initXSD, setInstanceProperty, setInstanceProperty |
Methods inherited from class org.eclipse.emf.ecore.impl.EPackageImpl |
addAnnotation, addAnnotation, addEEnumLiteral, addEException, addEOperation, addEOperation, addEParameter, addEParameter, basicGetESuperPackage, basicSetEFactoryInstance, createEAttribute, createEClass, createEDataType, createEEnum, createEReference, createResource, eBasicRemoveFromContainerFeature, eGet, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eSet, eSetProxyURI, eStaticClass, eUnset, fixEClassifiers, fixEEnumLiterals, fixEStructuralFeatures, fixInstanceClass, freeze, getEClassifier, getEClassifierGen, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getExtendedMetaData, getNsPrefix, getNsURI, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEClass, initEClass, initEDataType, initEDataType, initEEnum, initEReference, initEReference, initEReference, initEReference, initEReference, initEReference, initializeFromLoadedEPackage, setEFactoryInstance, setExtendedMetaData, setGeneratedClassName, setNamespaceURI, setNsPrefix, setNsURI, toString |
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl |
getName, getNameGen, setName |
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen |
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl |
eContents, eCrossReferences, eIsProxy, eProperties, eProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, 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 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, 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 |
NAMESPACE_URI
public static final java.lang.String NAMESPACE_URI
- The package namespace URI.
- See Also:
- Constant Field Values
NAMESPACE_PREFIX
public static final java.lang.String NAMESPACE_PREFIX
- The package namespace name.
- See Also:
- Constant Field Values
PATTERN_VERSION
public static final java.lang.String PATTERN_VERSION
- The version of the generator pattern used to generate this class.
- See Also:
- Constant Field Values
COLUMN
public static final int COLUMN
- See Also:
- Constant Field Values
COMMAND
public static final int COMMAND
- See Also:
- Constant Field Values
CONFIG
public static final int CONFIG
- See Also:
- Constant Field Values
CONNECTION_INFO
public static final int CONNECTION_INFO
- See Also:
- Constant Field Values
CONNECTION_PROPERTIES
public static final int CONNECTION_PROPERTIES
- See Also:
- Constant Field Values
CREATE
public static final int CREATE
- See Also:
- Constant Field Values
DELETE
public static final int DELETE
- See Also:
- Constant Field Values
KEY_PAIR
public static final int KEY_PAIR
- See Also:
- Constant Field Values
PARAMETER
public static final int PARAMETER
- See Also:
- Constant Field Values
PARAMETERS
public static final int PARAMETERS
- See Also:
- Constant Field Values
RELATIONSHIP
public static final int RELATIONSHIP
- See Also:
- Constant Field Values
RESULT_DESCRIPTOR
public static final int RESULT_DESCRIPTOR
- See Also:
- Constant Field Values
TABLE
public static final int TABLE
- See Also:
- Constant Field Values
UPDATE
public static final int UPDATE
- See Also:
- Constant Field Values
GENERATED_KEYS_SUPPORTED
public static final int GENERATED_KEYS_SUPPORTED
- See Also:
- Constant Field Values
columnType
protected commonj.sdo.Type columnType
commandType
protected commonj.sdo.Type commandType
configType
protected commonj.sdo.Type configType
connectionInfoType
protected commonj.sdo.Type connectionInfoType
connectionPropertiesType
protected commonj.sdo.Type connectionPropertiesType
createType
protected commonj.sdo.Type createType
deleteType
protected commonj.sdo.Type deleteType
keyPairType
protected commonj.sdo.Type keyPairType
parameterType
protected commonj.sdo.Type parameterType
parametersType
protected commonj.sdo.Type parametersType
relationshipType
protected commonj.sdo.Type relationshipType
resultDescriptorType
protected commonj.sdo.Type resultDescriptorType
tableType
protected commonj.sdo.Type tableType
updateType
protected commonj.sdo.Type updateType
generatedKeysSupportedType
protected commonj.sdo.Type generatedKeysSupportedType
ConfigFactoryImpl
public ConfigFactoryImpl()
- Creates an instance of the factory.
register
public void register(commonj.sdo.helper.HelperContext scope)
- Registers the Factory instance so that it is available within the supplied scope.
- Specified by:
register
in interface ConfigFactory
- Parameters:
scope
- an instance of HelperContext used to manage the scoping of types.
create
public commonj.sdo.DataObject create(int typeNumber)
-
- Overrides:
create
in class org.apache.tuscany.sdo.impl.FactoryBase
createFromString
public java.lang.Object createFromString(int typeNumber,
java.lang.String initialValue)
-
- Overrides:
createFromString
in class org.apache.tuscany.sdo.impl.FactoryBase
convertToString
public java.lang.String convertToString(int typeNumber,
java.lang.Object instanceValue)
-
- Overrides:
convertToString
in class org.apache.tuscany.sdo.impl.FactoryBase
createColumn
public Column createColumn()
-
- Specified by:
createColumn
in interface ConfigFactory
- Returns:
- a new object of class 'Column'.
createCommand
public Command createCommand()
-
- Specified by:
createCommand
in interface ConfigFactory
- Returns:
- a new object of class 'Command'.
createConfig
public Config createConfig()
-
- Specified by:
createConfig
in interface ConfigFactory
- Returns:
- a new object of class 'Config'.
createConnectionInfo
public ConnectionInfo createConnectionInfo()
-
- Specified by:
createConnectionInfo
in interface ConfigFactory
- Returns:
- a new object of class 'Connection Info'.
createConnectionProperties
public ConnectionProperties createConnectionProperties()
-
- Specified by:
createConnectionProperties
in interface ConfigFactory
- Returns:
- a new object of class 'Connection Properties'.
createCreate
public Create createCreate()
-
- Specified by:
createCreate
in interface ConfigFactory
- Returns:
- a new object of class 'Create'.
createDelete
public Delete createDelete()
-
- Specified by:
createDelete
in interface ConfigFactory
- Returns:
- a new object of class 'Delete'.
createKeyPair
public KeyPair createKeyPair()
-
- Specified by:
createKeyPair
in interface ConfigFactory
- Returns:
- a new object of class 'Key Pair'.
createParameter
public Parameter createParameter()
-
- Specified by:
createParameter
in interface ConfigFactory
- Returns:
- a new object of class 'Parameter'.
createParameters
public Parameters createParameters()
-
- Specified by:
createParameters
in interface ConfigFactory
- Returns:
- a new object of class 'Parameters'.
createRelationship
public Relationship createRelationship()
-
- Specified by:
createRelationship
in interface ConfigFactory
- Returns:
- a new object of class 'Relationship'.
createResultDescriptor
public ResultDescriptor createResultDescriptor()
-
- Specified by:
createResultDescriptor
in interface ConfigFactory
- Returns:
- a new object of class 'Result Descriptor'.
createTable
public Table createTable()
-
- Specified by:
createTable
in interface ConfigFactory
- Returns:
- a new object of class 'Table'.
createUpdate
public Update createUpdate()
-
- Specified by:
createUpdate
in interface ConfigFactory
- Returns:
- a new object of class 'Update'.
getColumn
public commonj.sdo.Type getColumn()
getCommand
public commonj.sdo.Type getCommand()
getConfig
public commonj.sdo.Type getConfig()
getConnectionInfo
public commonj.sdo.Type getConnectionInfo()
getConnectionProperties
public commonj.sdo.Type getConnectionProperties()
getCreate
public commonj.sdo.Type getCreate()
getDelete
public commonj.sdo.Type getDelete()
getKeyPair
public commonj.sdo.Type getKeyPair()
getParameter
public commonj.sdo.Type getParameter()
getParameters
public commonj.sdo.Type getParameters()
getRelationship
public commonj.sdo.Type getRelationship()
getResultDescriptor
public commonj.sdo.Type getResultDescriptor()
getTable
public commonj.sdo.Type getTable()
getUpdate
public commonj.sdo.Type getUpdate()
getgeneratedKeysSupported
public commonj.sdo.Type getgeneratedKeysSupported()
init
public static ConfigFactoryImpl init()
createMetaData
public void createMetaData()
initializeMetaData
public void initializeMetaData()
createXSDMetaData
protected void createXSDMetaData(org.apache.tuscany.sdo.model.impl.ModelFactoryImpl theModelPackageImpl)
creategeneratedKeysSupportedFromString
public java.lang.String creategeneratedKeysSupportedFromString(java.lang.String initialValue)
-
convertgeneratedKeysSupportedToString
public java.lang.String convertgeneratedKeysSupportedToString(java.lang.Object instanceValue)
-
Copyright © 2007 Apache Software Foundation. All Rights Reserved.