org.apache.tuscany.sdo.impl
Class FactoryBase

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.EObjectImpl
              extended by org.eclipse.emf.ecore.impl.FlatEObjectImpl
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.ENamedElementImpl
                          extended by org.eclipse.emf.ecore.impl.EPackageImpl
                              extended by org.apache.tuscany.sdo.impl.FactoryBase
All Implemented Interfaces:
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 FactoryBase
extends org.eclipse.emf.ecore.impl.EPackageImpl


Nested Class Summary
 
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
 
Field Summary
static boolean 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
 
Constructor Summary
protected FactoryBase(java.lang.String namespaceURI, java.lang.String namespacePrefix)
           
 
Method Summary
protected  void addSuperType(commonj.sdo.Type subType, commonj.sdo.Type superType)
           
protected  void addXSDMapping(commonj.sdo.Property property, java.lang.String[] xsdMappings)
           
protected  void addXSDMapping(java.lang.String[] xsdMappings, java.lang.String annotationSource)
           
protected  void addXSDMapping(commonj.sdo.Type type, java.lang.String[] xsdMappings)
           
 java.lang.String convertToString(commonj.sdo.Type type, java.lang.Object objectValue, int propertyValue)
           
 commonj.sdo.DataObject create(int typeNumber)
           
 java.lang.Object createFromString(commonj.sdo.Type type, java.lang.String stringValue, int propertyValue)
           
protected  commonj.sdo.Property createGlobalProperty(java.lang.String name, commonj.sdo.Type type, java.lang.String[] xsdMappings)
           
protected  commonj.sdo.Property createGlobalProperty(java.lang.String name, commonj.sdo.Type type, java.lang.String[] xsdMappings, boolean asAttribute)
           
protected  commonj.sdo.Property createGlobalProperty(java.lang.String name, commonj.sdo.Type type, java.lang.String[] xsdMappings, boolean asAttribute, java.lang.String annotationSource)
           
protected  void createProperty(boolean isDataType, commonj.sdo.Type containingType, int propertyNumber)
           
protected  commonj.sdo.Type createType(boolean isDataType, int typeNumber)
           
protected  void createXSDMetaData()
           
protected  commonj.sdo.Type getSequence()
           
static java.lang.Object getStaticFactory(java.lang.String namespaceURI)
           
protected  void initializeProperty(commonj.sdo.Property property, commonj.sdo.Type type, java.lang.String name, java.lang.String defaultValue, int lower, int upper, java.lang.Class containerClass, boolean isReadonly, boolean isUnsettable, boolean isDerived)
           
protected  void initializeProperty(commonj.sdo.Property property, commonj.sdo.Type type, java.lang.String name, java.lang.String defaultValue, int lower, int upper, java.lang.Class containerClass, boolean isReadonly, boolean isUnsettable, boolean isDerived, boolean isComposite, commonj.sdo.Property oppositeProperty)
           
protected  void initializeType(commonj.sdo.Type type, java.lang.Class instanceClass, java.lang.String name)
           
protected  void initializeType(commonj.sdo.Type type, java.lang.Class instanceClass, java.lang.String name, boolean isSerializable, boolean isGenerated)
           
protected  void setInstanceProperty(commonj.sdo.Property property, java.lang.String namespaceURI, java.lang.String propertyName, java.lang.String propertyValue)
           
protected  void setInstanceProperty(commonj.sdo.Type type, java.lang.String namespaceURI, java.lang.String propertyName, java.lang.String propertyValue)
           
 
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
 

Field Detail

IS_ATTRIBUTE

public static final boolean IS_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

FactoryBase

protected FactoryBase(java.lang.String namespaceURI,
                      java.lang.String namespacePrefix)
Method Detail

create

public commonj.sdo.DataObject create(int typeNumber)

createType

protected commonj.sdo.Type createType(boolean isDataType,
                                      int typeNumber)

createProperty

protected void createProperty(boolean isDataType,
                              commonj.sdo.Type containingType,
                              int propertyNumber)

initializeType

protected void initializeType(commonj.sdo.Type type,
                              java.lang.Class instanceClass,
                              java.lang.String name)

initializeType

protected void initializeType(commonj.sdo.Type type,
                              java.lang.Class instanceClass,
                              java.lang.String name,
                              boolean isSerializable,
                              boolean isGenerated)

initializeProperty

protected void initializeProperty(commonj.sdo.Property property,
                                  commonj.sdo.Type type,
                                  java.lang.String name,
                                  java.lang.String defaultValue,
                                  int lower,
                                  int upper,
                                  java.lang.Class containerClass,
                                  boolean isReadonly,
                                  boolean isUnsettable,
                                  boolean isDerived)

initializeProperty

protected void initializeProperty(commonj.sdo.Property property,
                                  commonj.sdo.Type type,
                                  java.lang.String name,
                                  java.lang.String defaultValue,
                                  int lower,
                                  int upper,
                                  java.lang.Class containerClass,
                                  boolean isReadonly,
                                  boolean isUnsettable,
                                  boolean isDerived,
                                  boolean isComposite,
                                  commonj.sdo.Property oppositeProperty)

createXSDMetaData

protected void createXSDMetaData()

addXSDMapping

protected void addXSDMapping(java.lang.String[] xsdMappings,
                             java.lang.String annotationSource)

addXSDMapping

protected void addXSDMapping(commonj.sdo.Type type,
                             java.lang.String[] xsdMappings)

addXSDMapping

protected void addXSDMapping(commonj.sdo.Property property,
                             java.lang.String[] xsdMappings)

setInstanceProperty

protected void setInstanceProperty(commonj.sdo.Type type,
                                   java.lang.String namespaceURI,
                                   java.lang.String propertyName,
                                   java.lang.String propertyValue)

setInstanceProperty

protected void setInstanceProperty(commonj.sdo.Property property,
                                   java.lang.String namespaceURI,
                                   java.lang.String propertyName,
                                   java.lang.String propertyValue)

createGlobalProperty

protected commonj.sdo.Property createGlobalProperty(java.lang.String name,
                                                    commonj.sdo.Type type,
                                                    java.lang.String[] xsdMappings)

createGlobalProperty

protected commonj.sdo.Property createGlobalProperty(java.lang.String name,
                                                    commonj.sdo.Type type,
                                                    java.lang.String[] xsdMappings,
                                                    boolean asAttribute)

createGlobalProperty

protected commonj.sdo.Property createGlobalProperty(java.lang.String name,
                                                    commonj.sdo.Type type,
                                                    java.lang.String[] xsdMappings,
                                                    boolean asAttribute,
                                                    java.lang.String annotationSource)

getSequence

protected commonj.sdo.Type getSequence()

addSuperType

protected void addSuperType(commonj.sdo.Type subType,
                            commonj.sdo.Type superType)

getStaticFactory

public static java.lang.Object getStaticFactory(java.lang.String namespaceURI)

createFromString

public java.lang.Object createFromString(commonj.sdo.Type type,
                                         java.lang.String stringValue,
                                         int propertyValue)

convertToString

public java.lang.String convertToString(commonj.sdo.Type type,
                                        java.lang.Object objectValue,
                                        int propertyValue)


Copyright © 2006 Apache Software Foundation. All Rights Reserved.