@ParametersAreNonnullByDefault public final class PersistenceAdapter extends Object
Object
s in a specific PersistentEObject
.Modifier and Type | Method and Description |
---|---|
PersistentEObject |
adapt(Object object)
Adapts the provided object as a
PersistentEObject instance. |
static PersistenceAdapter |
getInstance()
Returns the instance of this class.
|
@Nonnull public static PersistenceAdapter getInstance()
@Nonnull public PersistentEObject adapt(Object object)
PersistentEObject
instance.object
- the object to adaptPersistentEObject
, or null
if the object
cannot be
assigned as a PersistentEObject
adapt(Object, Class)
Copyright © 2013–2019 Atlanmod. All rights reserved.