Package org.apache.metamodel.pojo

Examples of org.apache.metamodel.pojo.PojoDataContext


            tableDataProviders[i] = tableDataProvider;
        }
       
        String databaseName = params.getDatabaseName();
        if (databaseName != null && !databaseName.isEmpty()) {
            return new PojoDataContext(databaseName, tableDataProviders);
        }
        return new PojoDataContext(Arrays.asList(tableDataProviders));
    }
View Full Code Here


public class MockDataContextFactoryBeanDelegate implements DataContextFactoryBeanDelegate {

    @Override
    public DataContext createDataContext(DataContextFactoryParameters bean) {
        String username = bean.getUsername();
        return new PojoDataContext(username, new ArrayList<TableDataProvider<?>>());
    }
View Full Code Here

TOP

Related Classes of org.apache.metamodel.pojo.PojoDataContext

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.