Package org.jitterbit.integration.data.structure.database

Examples of org.jitterbit.integration.data.structure.database.DatabaseStructureTree$HierarchicalBuilder


        xsd.closeElement(/*complexType*/);
        xsd.closeElement(/*element*/);
    }

    private boolean addTables(DatabaseStructure dbStruct) {
        DatabaseStructureTree tableTree = new DatabaseStructureTree(dbStruct);
        Node root = tableTree.getRoot();
        return addTableDefinition(root);
    }
View Full Code Here


    }

    private String getSuggestedXsdName(DatabaseStructure dbStruct) {
        String dbName = dbStruct.getDbLocation().getDatabase();
        BeginEndQuote quotes = dbStruct.getBeginEndQuote();
        DatabaseStructureTree tree = new DatabaseStructureTree(dbStruct);
        Node root = tree.getRoot();
        DatabaseObject table = root.getTable();
        XsdNameGenerator nameGenerator = new XsdNameGenerator(dbName, quotes);
        return nameGenerator.getXsdName(table);
    }
View Full Code Here

    @Override
    public TextDocument createStructure(DatabaseStructure dbStructure) {
        quotes = dbStructure.getBeginEndQuote();
        Folder parent = folders.getWizardFolder(EntityType.Document, true);
        DatabaseStructureTree tree = new DatabaseStructureTree(dbStructure);
        Node root = tree.getRoot();
        DatabaseObject table = root.getTable();
        TextDocument doc = createEmptyDocument(parent, table);
        TextStructure struct = createTextStructure(root);
        doc.setStructure(struct);
        insertIntoProject(parent, doc);
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.structure.database.DatabaseStructureTree$HierarchicalBuilder

Copyright © 2018 www.massapicom. 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.