Package org.openengsb.core.edb.jpa.internal

Examples of org.openengsb.core.edb.jpa.internal.JPAObject


    /**
     * Converts an EDBObject object into a JPAObject object.
     */
    public static JPAObject convertEDBObjectToJPAObject(EDBObject object) {
        JPAObject result = new JPAObject();
        result.setTimestamp(object.getTimestamp());
        result.setOID(object.getOID());
        result.setDeleted(object.isDeleted());
        List<JPAEntry> entries = new ArrayList<JPAEntry>();
        for (EDBObjectEntry entry : object.values()) {
            entries.add(convertEDBObjectEntryToJPAEntry(entry, result));
        }
        result.setEntries(entries);
        return result;
    }
View Full Code Here

TOP

Related Classes of org.openengsb.core.edb.jpa.internal.JPAObject

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.