Package net.sf.joafip.export_import

Examples of net.sf.joafip.export_import.ClassOne301b


      FilePersistenceNotSerializableException,
      FilePersistenceTooBigForSerializationException {
    final IDataAccessSession dataAccessSession = filePersistence
        .createDataAccessSession();
    dataAccessSession.open();
    final ClassOne301b classOne301b = (ClassOne301b) dataAccessSession
        .getObject("object1");
    assertNotNull("must be defined", classOne301b);
    final Object field = classOne301b.getField();
    assertEquals("bad field value", "field1", field);
    assertEquals("bad field2 value", "field2", classOne301b.getField2());
    assertEquals("bad transient field value", "transientField1",
        classOne301b.getTransientField());
    assertEquals("bad transient field2 value", "transientField2",
        classOne301b.getTransientField2());

    final ClassTwo301bReplacement classTwo301bReplacement = (ClassTwo301bReplacement) dataAccessSession
        .getObject("object2");
    assertEquals("bad firstField value", "f1",
        classTwo301bReplacement.getFirstField());
View Full Code Here

TOP

Related Classes of net.sf.joafip.export_import.ClassOne301b

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.