org.eclipse.datatools.modelbase.sql.datatypes.impl
Class SQLDataTypesFactoryImpl

java.lang.Object
  extended by EFactoryImpl
      extended by org.eclipse.datatools.modelbase.sql.datatypes.impl.SQLDataTypesFactoryImpl
All Implemented Interfaces:
SQLDataTypesFactory

public class SQLDataTypesFactoryImpl
extends EFactoryImpl
implements SQLDataTypesFactory

An implementation of the model Factory.


Field Summary
 
Fields inherited from interface org.eclipse.datatools.modelbase.sql.datatypes.SQLDataTypesFactory
eINSTANCE
 
Constructor Summary
SQLDataTypesFactoryImpl()
          Creates an instance of the factory.
 
Method Summary
 java.lang.String convertCoercibilityTypeToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertIntegrityControlOptionToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertIntervalQualifierTypeToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertLinkControlOptionToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertOrderingCategoryTypeToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertOrderingTypeToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertPrimitiveTypeToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertReadPermissionOptionToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertUnlinkOptionToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertWritePermissionOptionToString(EDataType eDataType, java.lang.Object instanceValue)
           
 EObject create(EClass eClass)
           
 ApproximateNumericDataType createApproximateNumericDataType()
           
 AttributeDefinition createAttributeDefinition()
           
 BinaryStringDataType createBinaryStringDataType()
           
 BooleanDataType createBooleanDataType()
           
 CharacterSet createCharacterSet()
           
 CharacterStringDataType createCharacterStringDataType()
           
 CoercibilityType createCoercibilityTypeFromString(EDataType eDataType, java.lang.String initialValue)
           
 DataLinkDataType createDataLinkDataType()
           
 DateDataType createDateDataType()
           
 DistinctUserDefinedType createDistinctUserDefinedType()
           
 Domain createDomain()
           
 Field createField()
           
 FixedPrecisionDataType createFixedPrecisionDataType()
           
 java.lang.Object createFromString(EDataType eDataType, java.lang.String initialValue)
           
 IntegerDataType createIntegerDataType()
           
 IntegrityControlOption createIntegrityControlOptionFromString(EDataType eDataType, java.lang.String initialValue)
           
 IntervalDataType createIntervalDataType()
           
 IntervalQualifierType createIntervalQualifierTypeFromString(EDataType eDataType, java.lang.String initialValue)
           
 LinkControlOption createLinkControlOptionFromString(EDataType eDataType, java.lang.String initialValue)
           
 OrderingCategoryType createOrderingCategoryTypeFromString(EDataType eDataType, java.lang.String initialValue)
           
 OrderingType createOrderingTypeFromString(EDataType eDataType, java.lang.String initialValue)
           
 PrimitiveType createPrimitiveTypeFromString(EDataType eDataType, java.lang.String initialValue)
           
 ReadPermissionOption createReadPermissionOptionFromString(EDataType eDataType, java.lang.String initialValue)
           
 RowDataType createRowDataType()
           
 StructuredUserDefinedType createStructuredUserDefinedType()
           
 TimeDataType createTimeDataType()
           
 UnlinkOption createUnlinkOptionFromString(EDataType eDataType, java.lang.String initialValue)
           
 UserDefinedTypeOrdering createUserDefinedTypeOrdering()
           
 WritePermissionOption createWritePermissionOptionFromString(EDataType eDataType, java.lang.String initialValue)
           
 XMLDataType createXMLDataType()
           
static SQLDataTypesPackage getPackage()
          Deprecated.  
 SQLDataTypesPackage getSQLDataTypesPackage()
           
static SQLDataTypesFactory init()
          Creates the default factory implementation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLDataTypesFactoryImpl

public SQLDataTypesFactoryImpl()
Creates an instance of the factory.

Method Detail

init

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


create

public EObject create(EClass eClass)


createFromString

public java.lang.Object createFromString(EDataType eDataType,
                                         java.lang.String initialValue)


convertToString

public java.lang.String convertToString(EDataType eDataType,
                                        java.lang.Object instanceValue)


createCharacterStringDataType

public CharacterStringDataType createCharacterStringDataType()

Specified by:
createCharacterStringDataType in interface SQLDataTypesFactory
Returns:
a new object of class 'Character String Data Type'.

createRowDataType

public RowDataType createRowDataType()

Specified by:
createRowDataType in interface SQLDataTypesFactory
Returns:
a new object of class 'Row Data Type'.

createBooleanDataType

public BooleanDataType createBooleanDataType()

Specified by:
createBooleanDataType in interface SQLDataTypesFactory
Returns:
a new object of class 'Boolean Data Type'.

createIntervalDataType

public IntervalDataType createIntervalDataType()

Specified by:
createIntervalDataType in interface SQLDataTypesFactory
Returns:
a new object of class 'Interval Data Type'.

createBinaryStringDataType

public BinaryStringDataType createBinaryStringDataType()

Specified by:
createBinaryStringDataType in interface SQLDataTypesFactory
Returns:
a new object of class 'Binary String Data Type'.

createCharacterSet

public CharacterSet createCharacterSet()

Specified by:
createCharacterSet in interface SQLDataTypesFactory
Returns:
a new object of class 'Character Set'.

createTimeDataType

public TimeDataType createTimeDataType()

Specified by:
createTimeDataType in interface SQLDataTypesFactory
Returns:
a new object of class 'Time Data Type'.

createDistinctUserDefinedType

public DistinctUserDefinedType createDistinctUserDefinedType()

Specified by:
createDistinctUserDefinedType in interface SQLDataTypesFactory
Returns:
a new object of class 'Distinct User Defined Type'.

createStructuredUserDefinedType

public StructuredUserDefinedType createStructuredUserDefinedType()

Specified by:
createStructuredUserDefinedType in interface SQLDataTypesFactory
Returns:
a new object of class 'Structured User Defined Type'.

createAttributeDefinition

public AttributeDefinition createAttributeDefinition()

Specified by:
createAttributeDefinition in interface SQLDataTypesFactory
Returns:
a new object of class 'Attribute Definition'.

createFixedPrecisionDataType

public FixedPrecisionDataType createFixedPrecisionDataType()

Specified by:
createFixedPrecisionDataType in interface SQLDataTypesFactory
Returns:
a new object of class 'Fixed Precision Data Type'.

createDomain

public Domain createDomain()

Specified by:
createDomain in interface SQLDataTypesFactory
Returns:
a new object of class 'Domain'.

createField

public Field createField()

Specified by:
createField in interface SQLDataTypesFactory
Returns:
a new object of class 'Field'.

createDataLinkDataType

public DataLinkDataType createDataLinkDataType()

Specified by:
createDataLinkDataType in interface SQLDataTypesFactory
Returns:
a new object of class 'Data Link Data Type'.

createUserDefinedTypeOrdering

public UserDefinedTypeOrdering createUserDefinedTypeOrdering()

Specified by:
createUserDefinedTypeOrdering in interface SQLDataTypesFactory
Returns:
a new object of class 'User Defined Type Ordering'.

createDateDataType

public DateDataType createDateDataType()

Specified by:
createDateDataType in interface SQLDataTypesFactory
Returns:
a new object of class 'Date Data Type'.

createApproximateNumericDataType

public ApproximateNumericDataType createApproximateNumericDataType()

Specified by:
createApproximateNumericDataType in interface SQLDataTypesFactory
Returns:
a new object of class 'Approximate Numeric Data Type'.

createIntegerDataType

public IntegerDataType createIntegerDataType()

Specified by:
createIntegerDataType in interface SQLDataTypesFactory
Returns:
a new object of class 'Integer Data Type'.

createXMLDataType

public XMLDataType createXMLDataType()

Specified by:
createXMLDataType in interface SQLDataTypesFactory
Returns:
a new object of class 'XML Data Type'.

createCoercibilityTypeFromString

public CoercibilityType createCoercibilityTypeFromString(EDataType eDataType,
                                                         java.lang.String initialValue)


convertCoercibilityTypeToString

public java.lang.String convertCoercibilityTypeToString(EDataType eDataType,
                                                        java.lang.Object instanceValue)


createIntervalQualifierTypeFromString

public IntervalQualifierType createIntervalQualifierTypeFromString(EDataType eDataType,
                                                                   java.lang.String initialValue)


convertIntervalQualifierTypeToString

public java.lang.String convertIntervalQualifierTypeToString(EDataType eDataType,
                                                             java.lang.Object instanceValue)


createOrderingTypeFromString

public OrderingType createOrderingTypeFromString(EDataType eDataType,
                                                 java.lang.String initialValue)


convertOrderingTypeToString

public java.lang.String convertOrderingTypeToString(EDataType eDataType,
                                                    java.lang.Object instanceValue)


createOrderingCategoryTypeFromString

public OrderingCategoryType createOrderingCategoryTypeFromString(EDataType eDataType,
                                                                 java.lang.String initialValue)


convertOrderingCategoryTypeToString

public java.lang.String convertOrderingCategoryTypeToString(EDataType eDataType,
                                                            java.lang.Object instanceValue)


createPrimitiveTypeFromString

public PrimitiveType createPrimitiveTypeFromString(EDataType eDataType,
                                                   java.lang.String initialValue)


convertPrimitiveTypeToString

public java.lang.String convertPrimitiveTypeToString(EDataType eDataType,
                                                     java.lang.Object instanceValue)


createLinkControlOptionFromString

public LinkControlOption createLinkControlOptionFromString(EDataType eDataType,
                                                           java.lang.String initialValue)


convertLinkControlOptionToString

public java.lang.String convertLinkControlOptionToString(EDataType eDataType,
                                                         java.lang.Object instanceValue)


createIntegrityControlOptionFromString

public IntegrityControlOption createIntegrityControlOptionFromString(EDataType eDataType,
                                                                     java.lang.String initialValue)


convertIntegrityControlOptionToString

public java.lang.String convertIntegrityControlOptionToString(EDataType eDataType,
                                                              java.lang.Object instanceValue)


createReadPermissionOptionFromString

public ReadPermissionOption createReadPermissionOptionFromString(EDataType eDataType,
                                                                 java.lang.String initialValue)


convertReadPermissionOptionToString

public java.lang.String convertReadPermissionOptionToString(EDataType eDataType,
                                                            java.lang.Object instanceValue)


createWritePermissionOptionFromString

public WritePermissionOption createWritePermissionOptionFromString(EDataType eDataType,
                                                                   java.lang.String initialValue)


convertWritePermissionOptionToString

public java.lang.String convertWritePermissionOptionToString(EDataType eDataType,
                                                             java.lang.Object instanceValue)


createUnlinkOptionFromString

public UnlinkOption createUnlinkOptionFromString(EDataType eDataType,
                                                 java.lang.String initialValue)


convertUnlinkOptionToString

public java.lang.String convertUnlinkOptionToString(EDataType eDataType,
                                                    java.lang.Object instanceValue)


getSQLDataTypesPackage

public SQLDataTypesPackage getSQLDataTypesPackage()

Specified by:
getSQLDataTypesPackage in interface SQLDataTypesFactory
Returns:
the package supported by this factory.

getPackage

public static SQLDataTypesPackage getPackage()
Deprecated. 



Copyright © 2006 -- 2008 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.