Search in sources :

Example 1 with ColumnSpec

use of org.obeonetwork.dsl.database.spec.ColumnSpec in project InformationSystem by ObeoNetwork.

the class DatabaseFactoryImpl method createColumn.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated NOT
 */
public Column createColumn() {
    ColumnImpl column = new ColumnSpec();
    column.setTechID(EcoreUtil.generateUUID());
    TypeInstance type = TypesLibraryFactory.eINSTANCE.createTypeInstance();
    column.setType(type);
    return column;
}
Also used : ColumnSpec(org.obeonetwork.dsl.database.spec.ColumnSpec) TypeInstance(org.obeonetwork.dsl.typeslibrary.TypeInstance)

Aggregations

ColumnSpec (org.obeonetwork.dsl.database.spec.ColumnSpec)1 TypeInstance (org.obeonetwork.dsl.typeslibrary.TypeInstance)1