Package org.apache.isis.core.tck.dom.sqlos.data

Examples of org.apache.isis.core.tck.dom.sqlos.data.SqlDataClass


    public List<SqlDataClass> allDataClasses() {
        return allInstances(SqlDataClass.class);
    }

    public SqlDataClass newDataClass() {
        final SqlDataClass object = newTransientInstance(SqlDataClass.class);
        return object;
    }
View Full Code Here


    private void testLoad() throws Exception {
        final List<SqlDataClass> dataClasses = factory.allDataClasses();
        IsisContext.getTransactionManager().flushTransaction();
       
        assertEquals(1, dataClasses.size());
        final SqlDataClass sqlDataClass = dataClasses.get(0);
        getSqlIntegrationTestFixtures().setSqlDataClass(sqlDataClass);

        setFixtureInitializationState(State.DONT_INITIALIZE);
    }
View Full Code Here

    }

    private void testUpdateCollectionIsDirty() {

        final List<SqlDataClass> sqlDataClasses = factory.allDataClasses();
        final SqlDataClass sqlDataClass = sqlDataClasses.get(0);

        final List<SimpleClass> collection = sqlDataClass.getSimpleClasses1();
        final SimpleClass simpleClass1 = collection.get(0);

        collection.remove(simpleClass1);

        // REVIEW: I'm very doubtful about this...
View Full Code Here

TOP

Related Classes of org.apache.isis.core.tck.dom.sqlos.data.SqlDataClass

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.