Examples of SchemaDefinition


Examples of com.volantis.mcs.eclipse.ab.editors.xml.schema.SchemaDefinition

    /**
     * Construct a new XMLEditor.
     */
    public XMLEditor() {
        this.colorManager = new ColorManager();
        this.schema = new SchemaDefinition();
        resolver = RepositorySchemaResolverFactory.create();

        populateSchemaDefinition();
        setDocumentProvider(new XMLDocumentProvider());
    }
View Full Code Here

Examples of com.volantis.xml.schema.SchemaDefinition

    }

    public void addSchemata(Schemata schemata) {
        Iterator iterator = schemata.iterator();
        while (iterator.hasNext()) {
            SchemaDefinition schema = (SchemaDefinition) iterator.next();
            addSchema(schema);
        }
    }
View Full Code Here

Examples of org.dmd.dms.SchemaDefinition

   
    createWrappers(config, loc, f, sm);
   
    sformatter.setFileHeader(fileHeader);
    sformatter.setProgressStream(progress);
    SchemaDefinition sd = sm.isSchema(config.getSchemaToLoad());
    sformatter.dumpSchema(gendir, config.getGenPackage(), sd, sm);
  }
View Full Code Here

Examples of org.jooq.util.SchemaDefinition

    }

    @Override
    protected List<SchemaDefinition> getSchemata0() throws SQLException {
        List<SchemaDefinition> result = new ArrayList<SchemaDefinition>();
        result.add(new SchemaDefinition(this, "", ""));
        return result;
    }
View Full Code Here

Examples of org.jooq.util.SchemaDefinition

    }

    @Override
    protected void loadPrimaryKeys(DefaultRelations relations) {
        for (KeyColumnUsage usage : keyColumnUsage(PRIMARY_KEY)) {
            SchemaDefinition schema = getSchema(usage.getConstraintSchema());
            String key = usage.getConstraintName();
            String tableName = usage.getTableName();
            String columnName = usage.getColumnName();

            TableDefinition table = getTable(schema, tableName);
View Full Code Here

Examples of org.jooq.util.SchemaDefinition

    }

    @Override
    protected void loadUniqueKeys(DefaultRelations relations) {
        for (KeyColumnUsage usage : keyColumnUsage(UNIQUE)) {
            SchemaDefinition schema = getSchema(usage.getConstraintSchema());
            String key = usage.getConstraintName();
            String tableName = usage.getTableName();
            String columnName = usage.getColumnName();

            TableDefinition table = getTable(schema, tableName);
View Full Code Here

Examples of org.jooq.util.SchemaDefinition

                for (KeyColumnUsage usage : info().getKeyColumnUsages()) {
                    if (    StringUtils.equals(constraint.getConstraintCatalog(), usage.getConstraintCatalog())
                         && StringUtils.equals(constraint.getConstraintSchema(), usage.getConstraintSchema())
                         && StringUtils.equals(constraint.getConstraintName(), usage.getConstraintName())) {

                        SchemaDefinition foreignKeySchema = getSchema(constraint.getConstraintSchema());
                        SchemaDefinition uniqueKeySchema = getSchema(constraint.getUniqueConstraintSchema());

                        String foreignKey = usage.getConstraintName();
                        String foreignKeyTable = usage.getTableName();
                        String foreignKeyColumn = usage.getColumnName();
                        String uniqueKey = constraint.getUniqueConstraintName();
View Full Code Here

Examples of org.jooq.util.SchemaDefinition

    @Override
    protected List<SchemaDefinition> getSchemata0() {
        List<SchemaDefinition> result = new ArrayList<SchemaDefinition>();

        for (Schema schema : info().getSchemata()) {
            result.add(new SchemaDefinition(this, schema.getSchemaName(), null));
        }

        return result;
    }
View Full Code Here

Examples of org.jooq.util.SchemaDefinition

    protected List<SequenceDefinition> getSequences0() {
        List<SequenceDefinition> result = new ArrayList<SequenceDefinition>();

        for (Sequence sequence : info().getSequences()) {
            if (getInputSchemata().contains(sequence.getSequenceSchema())) {
                SchemaDefinition schema = getSchema(sequence.getSequenceSchema());

                DataTypeDefinition type = new DefaultDataTypeDefinition(
                    this,
                    schema,
                    sequence.getDataType(),
View Full Code Here

Examples of org.jooq.util.SchemaDefinition

    protected List<TableDefinition> getTables0() {
        List<TableDefinition> result = new ArrayList<TableDefinition>();

        for (Table table : info().getTables()) {
            if (getInputSchemata().contains(table.getTableSchema())) {
                SchemaDefinition schema = getSchema(table.getTableSchema());

                result.add(new XMLTableDefinition(schema, info(), table));
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.