org.cumulus4j.store
Class ObjectContainerHelper
java.lang.Object
org.cumulus4j.store.ObjectContainerHelper
public final class ObjectContainerHelper
- extends Object
Helper class for replacing object-references when storing a 1-1- or 1-n- or m-n-relationship
inside an ObjectContainer
.
- Author:
- Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entityToReference
public static Object entityToReference(ExecutionContext ec,
PersistenceManager pmData,
Object entity)
referenceToEntity
public static Object referenceToEntity(ExecutionContext ec,
PersistenceManager pmData,
Object reference)
referenceToDataEntryID
public static Long referenceToDataEntryID(ExecutionContext ec,
PersistenceManager pmData,
Object reference)
Copyright © 2012 NightLabs Consulting GmbH. All Rights Reserved.