Examples of PrimitivePropertyModel


Examples of org.openengsb.core.edbi.models.PrimitivePropertyModel

        assertFalse(rowset.next());
    }

    @Test
    public void commit_insert_primitivePropertyModel_createsRecordsCorrectly() throws Exception {
        PrimitivePropertyModel model = new PrimitivePropertyModel();

        model.setId("ppm/1");
        model.setBooleanByGet(true);
        model.setBooleanByIs(true);
        model.setPrimitiveDouble(Double.MAX_VALUE);
        model.setPrimitiveFloat(Float.MAX_VALUE);
        model.setPrimitiveInt(Integer.MAX_VALUE);
        model.setPrimitiveLong(Long.MAX_VALUE);
        model.setPrimitiveShort(Short.MAX_VALUE);

        engine.commit(newTestCommit().insert(model).get());

        JdbcIndex<?> index = engine.getIndex(PrimitivePropertyModel.class);
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.