org.openxma.dsl.ddl.ddlDsl.impl.DdlDslPackageImpl Maven / Gradle / Ivy
/**
*
*
*
*/
package org.openxma.dsl.ddl.ddlDsl.impl;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.impl.EPackageImpl;
import org.openxma.dsl.ddl.ddlDsl.AddTableConstraint;
import org.openxma.dsl.ddl.ddlDsl.Alter;
import org.openxma.dsl.ddl.ddlDsl.AlterTableAction;
import org.openxma.dsl.ddl.ddlDsl.Column;
import org.openxma.dsl.ddl.ddlDsl.ColumnComment;
import org.openxma.dsl.ddl.ddlDsl.Comment;
import org.openxma.dsl.ddl.ddlDsl.Constraint;
import org.openxma.dsl.ddl.ddlDsl.Create;
import org.openxma.dsl.ddl.ddlDsl.CreateIndex;
import org.openxma.dsl.ddl.ddlDsl.CreateTable;
import org.openxma.dsl.ddl.ddlDsl.Ddl;
import org.openxma.dsl.ddl.ddlDsl.DdlDslFactory;
import org.openxma.dsl.ddl.ddlDsl.DdlDslPackage;
import org.openxma.dsl.ddl.ddlDsl.DdlStatement;
import org.openxma.dsl.ddl.ddlDsl.Drop;
import org.openxma.dsl.ddl.ddlDsl.DropTableConstraint;
import org.openxma.dsl.ddl.ddlDsl.ForeignKeyConstraint;
import org.openxma.dsl.ddl.ddlDsl.LargeObjectType;
import org.openxma.dsl.ddl.ddlDsl.LongRaw;
import org.openxma.dsl.ddl.ddlDsl.NullableConstraint;
import org.openxma.dsl.ddl.ddlDsl.PrimaryKeyConstraint;
import org.openxma.dsl.ddl.ddlDsl.Raw;
import org.openxma.dsl.ddl.ddlDsl.ReferenceClause;
import org.openxma.dsl.ddl.ddlDsl.RowIdType;
import org.openxma.dsl.ddl.ddlDsl.SortDirectionEnum;
import org.openxma.dsl.ddl.ddlDsl.SqlBoolean;
import org.openxma.dsl.ddl.ddlDsl.SqlCharacter;
import org.openxma.dsl.ddl.ddlDsl.SqlDataType;
import org.openxma.dsl.ddl.ddlDsl.SqlDate;
import org.openxma.dsl.ddl.ddlDsl.SqlDateTime;
import org.openxma.dsl.ddl.ddlDsl.SqlInterval;
import org.openxma.dsl.ddl.ddlDsl.SqlNumber;
import org.openxma.dsl.ddl.ddlDsl.SqlTimeStamp;
import org.openxma.dsl.ddl.ddlDsl.TableComment;
import org.openxma.dsl.ddl.ddlDsl.TableProperty;
import org.openxma.dsl.ddl.ddlDsl.UniqueKeyConstraint;
/**
*
* An implementation of the model Package.
*
* @generated
*/
public class DdlDslPackageImpl extends EPackageImpl implements DdlDslPackage
{
/**
*
*
* @generated
*/
private EClass ddlEClass = null;
/**
*
*
* @generated
*/
private EClass ddlStatementEClass = null;
/**
*
*
* @generated
*/
private EClass alterEClass = null;
/**
*
*
* @generated
*/
private EClass alterTableActionEClass = null;
/**
*
*
* @generated
*/
private EClass dropTableConstraintEClass = null;
/**
*
*
* @generated
*/
private EClass commentEClass = null;
/**
*
*
* @generated
*/
private EClass tableCommentEClass = null;
/**
*
*
* @generated
*/
private EClass columnCommentEClass = null;
/**
*
*
* @generated
*/
private EClass addTableConstraintEClass = null;
/**
*
*
* @generated
*/
private EClass createEClass = null;
/**
*
*
* @generated
*/
private EClass createTableEClass = null;
/**
*
*
* @generated
*/
private EClass createIndexEClass = null;
/**
*
*
* @generated
*/
private EClass tablePropertyEClass = null;
/**
*
*
* @generated
*/
private EClass columnEClass = null;
/**
*
*
* @generated
*/
private EClass dropEClass = null;
/**
*
*
* @generated
*/
private EClass constraintEClass = null;
/**
*
*
* @generated
*/
private EClass nullableConstraintEClass = null;
/**
*
*
* @generated
*/
private EClass uniqueKeyConstraintEClass = null;
/**
*
*
* @generated
*/
private EClass primaryKeyConstraintEClass = null;
/**
*
*
* @generated
*/
private EClass foreignKeyConstraintEClass = null;
/**
*
*
* @generated
*/
private EClass referenceClauseEClass = null;
/**
*
*
* @generated
*/
private EClass sqlDataTypeEClass = null;
/**
*
*
* @generated
*/
private EClass sqlCharacterEClass = null;
/**
*
*
* @generated
*/
private EClass sqlNumberEClass = null;
/**
*
*
* @generated
*/
private EClass longRawEClass = null;
/**
*
*
* @generated
*/
private EClass longEClass = null;
/**
*
*
* @generated
*/
private EClass rawEClass = null;
/**
*
*
* @generated
*/
private EClass sqlDateTimeEClass = null;
/**
*
*
* @generated
*/
private EClass sqlDateEClass = null;
/**
*
*
* @generated
*/
private EClass sqlTimeStampEClass = null;
/**
*
*
* @generated
*/
private EClass sqlIntervalEClass = null;
/**
*
*
* @generated
*/
private EClass largeObjectTypeEClass = null;
/**
*
*
* @generated
*/
private EClass rowIdTypeEClass = null;
/**
*
*
* @generated
*/
private EClass sqlBooleanEClass = null;
/**
*
*
* @generated
*/
private EEnum sortDirectionEnumEEnum = null;
/**
* Creates an instance of the model Package, registered with
* {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
* Note: the correct way to create the package is via the static
* factory method {@link #init init()}, which also performs
* initialization of the package, or returns the registered package,
* if one already exists.
*
*
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.openxma.dsl.ddl.ddlDsl.DdlDslPackage#eNS_URI
* @see #init()
* @generated
*/
private DdlDslPackageImpl()
{
super(eNS_URI, DdlDslFactory.eINSTANCE);
}
/**
*
*
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the Package for this model, and for any others upon which it depends.
*
*
This method is used to initialize {@link DdlDslPackage#eINSTANCE} when that field is accessed.
* Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
*
*
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static DdlDslPackage init()
{
if (isInited) return (DdlDslPackage)EPackage.Registry.INSTANCE.getEPackage(DdlDslPackage.eNS_URI);
// Obtain or create and register package
DdlDslPackageImpl theDdlDslPackage = (DdlDslPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DdlDslPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DdlDslPackageImpl());
isInited = true;
// Create package meta-data objects
theDdlDslPackage.createPackageContents();
// Initialize created meta-data
theDdlDslPackage.initializePackageContents();
// Mark meta-data to indicate it can't be changed
theDdlDslPackage.freeze();
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(DdlDslPackage.eNS_URI, theDdlDslPackage);
return theDdlDslPackage;
}
/**
*
*
* @generated
*/
public EClass getDdl()
{
return ddlEClass;
}
/**
*
*
* @generated
*/
public EReference getDdl_Statements()
{
return (EReference)ddlEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getDdlStatement()
{
return ddlStatementEClass;
}
/**
*
*
* @generated
*/
public EClass getAlter()
{
return alterEClass;
}
/**
*
*
* @generated
*/
public EReference getAlter_Table()
{
return (EReference)alterEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EReference getAlter_Action()
{
return (EReference)alterEClass.getEStructuralFeatures().get(1);
}
/**
*
*
* @generated
*/
public EClass getAlterTableAction()
{
return alterTableActionEClass;
}
/**
*
*
* @generated
*/
public EReference getAlterTableAction_Constraint()
{
return (EReference)alterTableActionEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getDropTableConstraint()
{
return dropTableConstraintEClass;
}
/**
*
*
* @generated
*/
public EReference getDropTableConstraint_ConstraintRef()
{
return (EReference)dropTableConstraintEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getComment()
{
return commentEClass;
}
/**
*
*
* @generated
*/
public EAttribute getComment_Comment()
{
return (EAttribute)commentEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getTableComment()
{
return tableCommentEClass;
}
/**
*
*
* @generated
*/
public EReference getTableComment_Table()
{
return (EReference)tableCommentEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getColumnComment()
{
return columnCommentEClass;
}
/**
*
*
* @generated
*/
public EReference getColumnComment_Column()
{
return (EReference)columnCommentEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getAddTableConstraint()
{
return addTableConstraintEClass;
}
/**
*
*
* @generated
*/
public EAttribute getAddTableConstraint_Name()
{
return (EAttribute)addTableConstraintEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getCreate()
{
return createEClass;
}
/**
*
*
* @generated
*/
public EAttribute getCreate_Name()
{
return (EAttribute)createEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getCreateTable()
{
return createTableEClass;
}
/**
*
*
* @generated
*/
public EReference getCreateTable_Properties()
{
return (EReference)createTableEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getCreateIndex()
{
return createIndexEClass;
}
/**
*
*
* @generated
*/
public EAttribute getCreateIndex_Unique()
{
return (EAttribute)createIndexEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EReference getCreateIndex_Table()
{
return (EReference)createIndexEClass.getEStructuralFeatures().get(1);
}
/**
*
*
* @generated
*/
public EReference getCreateIndex_Columns()
{
return (EReference)createIndexEClass.getEStructuralFeatures().get(2);
}
/**
*
*
* @generated
*/
public EAttribute getCreateIndex_SortOrders()
{
return (EAttribute)createIndexEClass.getEStructuralFeatures().get(3);
}
/**
*
*
* @generated
*/
public EClass getTableProperty()
{
return tablePropertyEClass;
}
/**
*
*
* @generated
*/
public EAttribute getTableProperty_Name()
{
return (EAttribute)tablePropertyEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getColumn()
{
return columnEClass;
}
/**
*
*
* @generated
*/
public EReference getColumn_Type()
{
return (EReference)columnEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EAttribute getColumn_Sorted()
{
return (EAttribute)columnEClass.getEStructuralFeatures().get(1);
}
/**
*
*
* @generated
*/
public EReference getColumn_Constraint()
{
return (EReference)columnEClass.getEStructuralFeatures().get(2);
}
/**
*
*
* @generated
*/
public EAttribute getColumn_Default()
{
return (EAttribute)columnEClass.getEStructuralFeatures().get(3);
}
/**
*
*
* @generated
*/
public EReference getColumn_Reference()
{
return (EReference)columnEClass.getEStructuralFeatures().get(4);
}
/**
*
*
* @generated
*/
public EClass getDrop()
{
return dropEClass;
}
/**
*
*
* @generated
*/
public EAttribute getDrop_Object()
{
return (EAttribute)dropEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getConstraint()
{
return constraintEClass;
}
/**
*
*
* @generated
*/
public EClass getNullableConstraint()
{
return nullableConstraintEClass;
}
/**
*
*
* @generated
*/
public EAttribute getNullableConstraint_Not()
{
return (EAttribute)nullableConstraintEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getUniqueKeyConstraint()
{
return uniqueKeyConstraintEClass;
}
/**
*
*
* @generated
*/
public EReference getUniqueKeyConstraint_Columns()
{
return (EReference)uniqueKeyConstraintEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getPrimaryKeyConstraint()
{
return primaryKeyConstraintEClass;
}
/**
*
*
* @generated
*/
public EReference getPrimaryKeyConstraint_Columns()
{
return (EReference)primaryKeyConstraintEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getForeignKeyConstraint()
{
return foreignKeyConstraintEClass;
}
/**
*
*
* @generated
*/
public EReference getForeignKeyConstraint_Columns()
{
return (EReference)foreignKeyConstraintEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EReference getForeignKeyConstraint_Reference()
{
return (EReference)foreignKeyConstraintEClass.getEStructuralFeatures().get(1);
}
/**
*
*
* @generated
*/
public EClass getReferenceClause()
{
return referenceClauseEClass;
}
/**
*
*
* @generated
*/
public EReference getReferenceClause_Table()
{
return (EReference)referenceClauseEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EReference getReferenceClause_Columns()
{
return (EReference)referenceClauseEClass.getEStructuralFeatures().get(1);
}
/**
*
*
* @generated
*/
public EClass getSqlDataType()
{
return sqlDataTypeEClass;
}
/**
*
*
* @generated
*/
public EAttribute getSqlDataType_Name()
{
return (EAttribute)sqlDataTypeEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getSqlCharacter()
{
return sqlCharacterEClass;
}
/**
*
*
* @generated
*/
public EAttribute getSqlCharacter_National()
{
return (EAttribute)sqlCharacterEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EAttribute getSqlCharacter_Size()
{
return (EAttribute)sqlCharacterEClass.getEStructuralFeatures().get(1);
}
/**
*
*
* @generated
*/
public EClass getSqlNumber()
{
return sqlNumberEClass;
}
/**
*
*
* @generated
*/
public EAttribute getSqlNumber_HasPrecision()
{
return (EAttribute)sqlNumberEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EAttribute getSqlNumber_Precision()
{
return (EAttribute)sqlNumberEClass.getEStructuralFeatures().get(1);
}
/**
*
*
* @generated
*/
public EAttribute getSqlNumber_Scale()
{
return (EAttribute)sqlNumberEClass.getEStructuralFeatures().get(2);
}
/**
*
*
* @generated
*/
public EClass getLongRaw()
{
return longRawEClass;
}
/**
*
*
* @generated
*/
public EClass getLong()
{
return longEClass;
}
/**
*
*
* @generated
*/
public EAttribute getLong_Raw()
{
return (EAttribute)longEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getRaw()
{
return rawEClass;
}
/**
*
*
* @generated
*/
public EAttribute getRaw_Size()
{
return (EAttribute)rawEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getSqlDateTime()
{
return sqlDateTimeEClass;
}
/**
*
*
* @generated
*/
public EClass getSqlDate()
{
return sqlDateEClass;
}
/**
*
*
* @generated
*/
public EClass getSqlTimeStamp()
{
return sqlTimeStampEClass;
}
/**
*
*
* @generated
*/
public EAttribute getSqlTimeStamp_Precision()
{
return (EAttribute)sqlTimeStampEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getSqlInterval()
{
return sqlIntervalEClass;
}
/**
*
*
* @generated
*/
public EAttribute getSqlInterval_Year()
{
return (EAttribute)sqlIntervalEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EAttribute getSqlInterval_Day()
{
return (EAttribute)sqlIntervalEClass.getEStructuralFeatures().get(1);
}
/**
*
*
* @generated
*/
public EAttribute getSqlInterval_Precision()
{
return (EAttribute)sqlIntervalEClass.getEStructuralFeatures().get(2);
}
/**
*
*
* @generated
*/
public EAttribute getSqlInterval_SecondsPrecision()
{
return (EAttribute)sqlIntervalEClass.getEStructuralFeatures().get(3);
}
/**
*
*
* @generated
*/
public EClass getLargeObjectType()
{
return largeObjectTypeEClass;
}
/**
*
*
* @generated
*/
public EAttribute getLargeObjectType_Size()
{
return (EAttribute)largeObjectTypeEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getRowIdType()
{
return rowIdTypeEClass;
}
/**
*
*
* @generated
*/
public EAttribute getRowIdType_Size()
{
return (EAttribute)rowIdTypeEClass.getEStructuralFeatures().get(0);
}
/**
*
*
* @generated
*/
public EClass getSqlBoolean()
{
return sqlBooleanEClass;
}
/**
*
*
* @generated
*/
public EEnum getSortDirectionEnum()
{
return sortDirectionEnumEEnum;
}
/**
*
*
* @generated
*/
public DdlDslFactory getDdlDslFactory()
{
return (DdlDslFactory)getEFactoryInstance();
}
/**
*
*
* @generated
*/
private boolean isCreated = false;
/**
* Creates the meta-model objects for the package. This method is
* guarded to have no affect on any invocation but its first.
*
*
* @generated
*/
public void createPackageContents()
{
if (isCreated) return;
isCreated = true;
// Create classes and their features
ddlEClass = createEClass(DDL);
createEReference(ddlEClass, DDL__STATEMENTS);
ddlStatementEClass = createEClass(DDL_STATEMENT);
alterEClass = createEClass(ALTER);
createEReference(alterEClass, ALTER__TABLE);
createEReference(alterEClass, ALTER__ACTION);
alterTableActionEClass = createEClass(ALTER_TABLE_ACTION);
createEReference(alterTableActionEClass, ALTER_TABLE_ACTION__CONSTRAINT);
dropTableConstraintEClass = createEClass(DROP_TABLE_CONSTRAINT);
createEReference(dropTableConstraintEClass, DROP_TABLE_CONSTRAINT__CONSTRAINT_REF);
commentEClass = createEClass(COMMENT);
createEAttribute(commentEClass, COMMENT__COMMENT);
tableCommentEClass = createEClass(TABLE_COMMENT);
createEReference(tableCommentEClass, TABLE_COMMENT__TABLE);
columnCommentEClass = createEClass(COLUMN_COMMENT);
createEReference(columnCommentEClass, COLUMN_COMMENT__COLUMN);
addTableConstraintEClass = createEClass(ADD_TABLE_CONSTRAINT);
createEAttribute(addTableConstraintEClass, ADD_TABLE_CONSTRAINT__NAME);
createEClass = createEClass(CREATE);
createEAttribute(createEClass, CREATE__NAME);
createTableEClass = createEClass(CREATE_TABLE);
createEReference(createTableEClass, CREATE_TABLE__PROPERTIES);
createIndexEClass = createEClass(CREATE_INDEX);
createEAttribute(createIndexEClass, CREATE_INDEX__UNIQUE);
createEReference(createIndexEClass, CREATE_INDEX__TABLE);
createEReference(createIndexEClass, CREATE_INDEX__COLUMNS);
createEAttribute(createIndexEClass, CREATE_INDEX__SORT_ORDERS);
tablePropertyEClass = createEClass(TABLE_PROPERTY);
createEAttribute(tablePropertyEClass, TABLE_PROPERTY__NAME);
columnEClass = createEClass(COLUMN);
createEReference(columnEClass, COLUMN__TYPE);
createEAttribute(columnEClass, COLUMN__SORTED);
createEReference(columnEClass, COLUMN__CONSTRAINT);
createEAttribute(columnEClass, COLUMN__DEFAULT);
createEReference(columnEClass, COLUMN__REFERENCE);
dropEClass = createEClass(DROP);
createEAttribute(dropEClass, DROP__OBJECT);
constraintEClass = createEClass(CONSTRAINT);
nullableConstraintEClass = createEClass(NULLABLE_CONSTRAINT);
createEAttribute(nullableConstraintEClass, NULLABLE_CONSTRAINT__NOT);
uniqueKeyConstraintEClass = createEClass(UNIQUE_KEY_CONSTRAINT);
createEReference(uniqueKeyConstraintEClass, UNIQUE_KEY_CONSTRAINT__COLUMNS);
primaryKeyConstraintEClass = createEClass(PRIMARY_KEY_CONSTRAINT);
createEReference(primaryKeyConstraintEClass, PRIMARY_KEY_CONSTRAINT__COLUMNS);
foreignKeyConstraintEClass = createEClass(FOREIGN_KEY_CONSTRAINT);
createEReference(foreignKeyConstraintEClass, FOREIGN_KEY_CONSTRAINT__COLUMNS);
createEReference(foreignKeyConstraintEClass, FOREIGN_KEY_CONSTRAINT__REFERENCE);
referenceClauseEClass = createEClass(REFERENCE_CLAUSE);
createEReference(referenceClauseEClass, REFERENCE_CLAUSE__TABLE);
createEReference(referenceClauseEClass, REFERENCE_CLAUSE__COLUMNS);
sqlDataTypeEClass = createEClass(SQL_DATA_TYPE);
createEAttribute(sqlDataTypeEClass, SQL_DATA_TYPE__NAME);
sqlCharacterEClass = createEClass(SQL_CHARACTER);
createEAttribute(sqlCharacterEClass, SQL_CHARACTER__NATIONAL);
createEAttribute(sqlCharacterEClass, SQL_CHARACTER__SIZE);
sqlNumberEClass = createEClass(SQL_NUMBER);
createEAttribute(sqlNumberEClass, SQL_NUMBER__HAS_PRECISION);
createEAttribute(sqlNumberEClass, SQL_NUMBER__PRECISION);
createEAttribute(sqlNumberEClass, SQL_NUMBER__SCALE);
longRawEClass = createEClass(LONG_RAW);
longEClass = createEClass(LONG);
createEAttribute(longEClass, LONG__RAW);
rawEClass = createEClass(RAW);
createEAttribute(rawEClass, RAW__SIZE);
sqlDateTimeEClass = createEClass(SQL_DATE_TIME);
sqlDateEClass = createEClass(SQL_DATE);
sqlTimeStampEClass = createEClass(SQL_TIME_STAMP);
createEAttribute(sqlTimeStampEClass, SQL_TIME_STAMP__PRECISION);
sqlIntervalEClass = createEClass(SQL_INTERVAL);
createEAttribute(sqlIntervalEClass, SQL_INTERVAL__YEAR);
createEAttribute(sqlIntervalEClass, SQL_INTERVAL__DAY);
createEAttribute(sqlIntervalEClass, SQL_INTERVAL__PRECISION);
createEAttribute(sqlIntervalEClass, SQL_INTERVAL__SECONDS_PRECISION);
largeObjectTypeEClass = createEClass(LARGE_OBJECT_TYPE);
createEAttribute(largeObjectTypeEClass, LARGE_OBJECT_TYPE__SIZE);
rowIdTypeEClass = createEClass(ROW_ID_TYPE);
createEAttribute(rowIdTypeEClass, ROW_ID_TYPE__SIZE);
sqlBooleanEClass = createEClass(SQL_BOOLEAN);
// Create enums
sortDirectionEnumEEnum = createEEnum(SORT_DIRECTION_ENUM);
}
/**
*
*
* @generated
*/
private boolean isInitialized = false;
/**
* Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first.
*
*
* @generated
*/
public void initializePackageContents()
{
if (isInitialized) return;
isInitialized = true;
// Initialize package
setName(eNAME);
setNsPrefix(eNS_PREFIX);
setNsURI(eNS_URI);
// Create type parameters
// Set bounds for type parameters
// Add supertypes to classes
alterEClass.getESuperTypes().add(this.getDdlStatement());
dropTableConstraintEClass.getESuperTypes().add(this.getAlterTableAction());
commentEClass.getESuperTypes().add(this.getDdlStatement());
tableCommentEClass.getESuperTypes().add(this.getComment());
columnCommentEClass.getESuperTypes().add(this.getComment());
addTableConstraintEClass.getESuperTypes().add(this.getAlterTableAction());
createEClass.getESuperTypes().add(this.getDdlStatement());
createTableEClass.getESuperTypes().add(this.getCreate());
createIndexEClass.getESuperTypes().add(this.getCreate());
columnEClass.getESuperTypes().add(this.getTableProperty());
dropEClass.getESuperTypes().add(this.getDdlStatement());
constraintEClass.getESuperTypes().add(this.getTableProperty());
nullableConstraintEClass.getESuperTypes().add(this.getConstraint());
uniqueKeyConstraintEClass.getESuperTypes().add(this.getConstraint());
primaryKeyConstraintEClass.getESuperTypes().add(this.getConstraint());
foreignKeyConstraintEClass.getESuperTypes().add(this.getConstraint());
sqlCharacterEClass.getESuperTypes().add(this.getSqlDataType());
sqlNumberEClass.getESuperTypes().add(this.getSqlDataType());
longRawEClass.getESuperTypes().add(this.getSqlDataType());
longEClass.getESuperTypes().add(this.getLongRaw());
rawEClass.getESuperTypes().add(this.getLongRaw());
sqlDateTimeEClass.getESuperTypes().add(this.getSqlDataType());
sqlDateEClass.getESuperTypes().add(this.getSqlDateTime());
sqlTimeStampEClass.getESuperTypes().add(this.getSqlDateTime());
sqlIntervalEClass.getESuperTypes().add(this.getSqlDateTime());
largeObjectTypeEClass.getESuperTypes().add(this.getSqlDataType());
rowIdTypeEClass.getESuperTypes().add(this.getSqlDataType());
sqlBooleanEClass.getESuperTypes().add(this.getSqlDataType());
// Initialize classes and features; add operations and parameters
initEClass(ddlEClass, Ddl.class, "Ddl", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getDdl_Statements(), this.getDdlStatement(), null, "statements", null, 0, -1, Ddl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(ddlStatementEClass, DdlStatement.class, "DdlStatement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(alterEClass, Alter.class, "Alter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getAlter_Table(), this.getCreateTable(), null, "table", null, 0, 1, Alter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getAlter_Action(), this.getAlterTableAction(), null, "action", null, 0, 1, Alter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(alterTableActionEClass, AlterTableAction.class, "AlterTableAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getAlterTableAction_Constraint(), this.getConstraint(), null, "constraint", null, 0, 1, AlterTableAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(dropTableConstraintEClass, DropTableConstraint.class, "DropTableConstraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getDropTableConstraint_ConstraintRef(), this.getConstraint(), null, "constraintRef", null, 0, 1, DropTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(commentEClass, Comment.class, "Comment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getComment_Comment(), ecorePackage.getEString(), "comment", null, 0, 1, Comment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(tableCommentEClass, TableComment.class, "TableComment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getTableComment_Table(), this.getCreateTable(), null, "table", null, 0, 1, TableComment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(columnCommentEClass, ColumnComment.class, "ColumnComment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getColumnComment_Column(), this.getColumn(), null, "column", null, 0, 1, ColumnComment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(addTableConstraintEClass, AddTableConstraint.class, "AddTableConstraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getAddTableConstraint_Name(), ecorePackage.getEString(), "name", null, 0, 1, AddTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(createEClass, Create.class, "Create", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getCreate_Name(), ecorePackage.getEString(), "name", null, 0, 1, Create.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(createTableEClass, CreateTable.class, "CreateTable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getCreateTable_Properties(), this.getTableProperty(), null, "properties", null, 0, -1, CreateTable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(createIndexEClass, CreateIndex.class, "CreateIndex", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getCreateIndex_Unique(), ecorePackage.getEBoolean(), "unique", null, 0, 1, CreateIndex.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getCreateIndex_Table(), this.getCreateTable(), null, "table", null, 0, 1, CreateIndex.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getCreateIndex_Columns(), this.getColumn(), null, "columns", null, 0, -1, CreateIndex.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getCreateIndex_SortOrders(), this.getSortDirectionEnum(), "sortOrders", null, 0, -1, CreateIndex.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(tablePropertyEClass, TableProperty.class, "TableProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getTableProperty_Name(), ecorePackage.getEString(), "name", null, 0, 1, TableProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(columnEClass, Column.class, "Column", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getColumn_Type(), this.getSqlDataType(), null, "type", null, 0, 1, Column.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getColumn_Sorted(), ecorePackage.getEBoolean(), "sorted", null, 0, 1, Column.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getColumn_Constraint(), this.getConstraint(), null, "constraint", null, 0, 1, Column.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getColumn_Default(), ecorePackage.getEString(), "default", null, 0, 1, Column.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getColumn_Reference(), this.getReferenceClause(), null, "reference", null, 0, 1, Column.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(dropEClass, Drop.class, "Drop", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getDrop_Object(), ecorePackage.getEString(), "object", null, 0, 1, Drop.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(constraintEClass, Constraint.class, "Constraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(nullableConstraintEClass, NullableConstraint.class, "NullableConstraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getNullableConstraint_Not(), ecorePackage.getEBoolean(), "not", null, 0, 1, NullableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(uniqueKeyConstraintEClass, UniqueKeyConstraint.class, "UniqueKeyConstraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getUniqueKeyConstraint_Columns(), this.getColumn(), null, "columns", null, 0, -1, UniqueKeyConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(primaryKeyConstraintEClass, PrimaryKeyConstraint.class, "PrimaryKeyConstraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getPrimaryKeyConstraint_Columns(), this.getColumn(), null, "columns", null, 0, -1, PrimaryKeyConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(foreignKeyConstraintEClass, ForeignKeyConstraint.class, "ForeignKeyConstraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getForeignKeyConstraint_Columns(), this.getColumn(), null, "columns", null, 0, -1, ForeignKeyConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getForeignKeyConstraint_Reference(), this.getReferenceClause(), null, "reference", null, 0, 1, ForeignKeyConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(referenceClauseEClass, ReferenceClause.class, "ReferenceClause", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getReferenceClause_Table(), this.getCreateTable(), null, "table", null, 0, 1, ReferenceClause.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getReferenceClause_Columns(), this.getColumn(), null, "columns", null, 0, -1, ReferenceClause.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(sqlDataTypeEClass, SqlDataType.class, "SqlDataType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getSqlDataType_Name(), ecorePackage.getEString(), "name", null, 0, 1, SqlDataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(sqlCharacterEClass, SqlCharacter.class, "SqlCharacter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getSqlCharacter_National(), ecorePackage.getEBoolean(), "national", null, 0, 1, SqlCharacter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getSqlCharacter_Size(), ecorePackage.getEInt(), "size", null, 0, 1, SqlCharacter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(sqlNumberEClass, SqlNumber.class, "SqlNumber", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getSqlNumber_HasPrecision(), ecorePackage.getEBoolean(), "hasPrecision", null, 0, 1, SqlNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getSqlNumber_Precision(), ecorePackage.getEInt(), "precision", null, 0, 1, SqlNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getSqlNumber_Scale(), ecorePackage.getEInt(), "scale", null, 0, 1, SqlNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(longRawEClass, LongRaw.class, "LongRaw", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(longEClass, org.openxma.dsl.ddl.ddlDsl.Long.class, "Long", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getLong_Raw(), ecorePackage.getEBoolean(), "raw", null, 0, 1, org.openxma.dsl.ddl.ddlDsl.Long.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(rawEClass, Raw.class, "Raw", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getRaw_Size(), ecorePackage.getEInt(), "size", null, 0, 1, Raw.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(sqlDateTimeEClass, SqlDateTime.class, "SqlDateTime", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(sqlDateEClass, SqlDate.class, "SqlDate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(sqlTimeStampEClass, SqlTimeStamp.class, "SqlTimeStamp", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getSqlTimeStamp_Precision(), ecorePackage.getEInt(), "precision", null, 0, 1, SqlTimeStamp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(sqlIntervalEClass, SqlInterval.class, "SqlInterval", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getSqlInterval_Year(), ecorePackage.getEBoolean(), "year", null, 0, 1, SqlInterval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getSqlInterval_Day(), ecorePackage.getEBoolean(), "day", null, 0, 1, SqlInterval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getSqlInterval_Precision(), ecorePackage.getEInt(), "precision", null, 0, 1, SqlInterval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getSqlInterval_SecondsPrecision(), ecorePackage.getEInt(), "secondsPrecision", null, 0, 1, SqlInterval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(largeObjectTypeEClass, LargeObjectType.class, "LargeObjectType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getLargeObjectType_Size(), ecorePackage.getEInt(), "size", null, 0, 1, LargeObjectType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(rowIdTypeEClass, RowIdType.class, "RowIdType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getRowIdType_Size(), ecorePackage.getEInt(), "size", null, 0, 1, RowIdType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(sqlBooleanEClass, SqlBoolean.class, "SqlBoolean", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
// Initialize enums and add enum literals
initEEnum(sortDirectionEnumEEnum, SortDirectionEnum.class, "SortDirectionEnum");
addEEnumLiteral(sortDirectionEnumEEnum, SortDirectionEnum.ASC);
addEEnumLiteral(sortDirectionEnumEEnum, SortDirectionEnum.DESC);
// Create resource
createResource(eNS_URI);
}
} //DdlDslPackageImpl