Package net.sf.joafip.entity

Examples of net.sf.joafip.entity.ForThisTest


    final Bob1[] bob1s = new Bob1[1];
    bob1s[0] = new Bob1();
    bob1s[0].setVal(15);
    final Bob1 bob1 = new Bob1();
    bob1.setVal(20);
    final ForThisTest forThisTest = new ForThisTest(bob1s, bob1);
    assertEquals("bad value", 15,
        ((Bob1) forThisTest.getObject1()).getVal());
    assertEquals("bad value", 20,
        ((Bob1) forThisTest.getObject2()).getVal());
    final IDataAccessSession session = filePersistence
        .createDataAccessSession();
    session.open();
    session.setObject(KEY, forThisTest);
    session.close(EnumFilePersistenceCloseAction.SAVE);
View Full Code Here

TOP

Related Classes of net.sf.joafip.entity.ForThisTest

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.