Package org.jboss.dna.common.jdbc.model

Examples of org.jboss.dna.common.jdbc.model.DefaultModelFactory


    }

    public void testAddTable() {
        String NAME = "My Name";
        // create
        Table object = new DefaultModelFactory().createTable();
        // set
        object.setName(NAME);
        // add
        bean.addTable(object);
        // check
View Full Code Here


    }

    public void testDeleteTable() {
        String NAME = "My Name";
        // create
        Table object = new DefaultModelFactory().createTable();
        // set
        object.setName(NAME);
        // add
        bean.addTable(object);
        // check
View Full Code Here

    }

    public void testFindTableByName() {
        String NAME = "My Name";
        // create
        Table object = new DefaultModelFactory().createTable();
        // set
        object.setName(NAME);
        // add
        bean.addTable(object);
        // check
View Full Code Here

    }

    public void testAddSchema() {
        String NAME = "My Name";
        // create
        Schema object = new DefaultModelFactory().createSchema();
        // set
        object.setName(NAME);
        // add
        bean.addSchema(object);
        // check
View Full Code Here

    }

    public void testDeleteSchema() {
        String NAME = "My Name";
        // create
        Schema object = new DefaultModelFactory().createSchema();
        // set
        object.setName(NAME);
        // add
        bean.addSchema(object);
        // check
View Full Code Here

    }

    public void testFindSchemaByName() {
        String NAME = "My Name";
        // create
        Schema object = new DefaultModelFactory().createSchema();
        // set
        object.setName(NAME);
        // add
        bean.addSchema(object);
        // check
View Full Code Here

    }

    public void testAddCatalog() {
        String NAME = "My Name";
        // create
        Catalog object = new DefaultModelFactory().createCatalog();
        // set
        object.setName(NAME);
        // add
        bean.addCatalog(object);
        // check
View Full Code Here

    }

    public void testDeleteCatalog() {
        String NAME = "My Name";
        // create
        Catalog object = new DefaultModelFactory().createCatalog();
        // set
        object.setName(NAME);
        // add
        bean.addCatalog(object);
        // check
View Full Code Here

    }

    public void testFindCatalogByName() {
        String NAME = "My Name";
        // create
        Catalog object = new DefaultModelFactory().createCatalog();
        // set
        object.setName(NAME);
        // add
        bean.addCatalog(object);
        // check
View Full Code Here

    }

    public void testAddTableType() {
        String NAME = "My Name";
        // create
        TableType object = new DefaultModelFactory().createTableType();
        // set
        object.setName(NAME);
        // add
        bean.addTableType(object);
        // check
View Full Code Here

TOP

Related Classes of org.jboss.dna.common.jdbc.model.DefaultModelFactory

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.