public static interface PersistenceManager.Factories
extends java.util.List
Modifier and Type | Method and Description |
---|---|
boolean |
add(PersistenceFactory factory)
Add a new class to the factory.
|
boolean |
add(PersistenceFactory factory,
java.lang.String classNameAlias)
Add a new factory to the list registering an alias.
|
PersistenceFactory |
get(java.lang.Class theClass)
Return factory associated to class passed as parameter.
|
PersistenceFactory |
get(java.lang.Object object)
Return factory associated to the object passed as parameter.
|
PersistenceFactory |
get(PersistentState state)
Return factory associated to the object stored in the state.
|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
boolean add(PersistenceFactory factory, java.lang.String classNameAlias)
factory
- classNameAlias
- boolean add(PersistenceFactory factory)
factory
- PersistenceFactory get(java.lang.Class theClass)
class
- namePersistenceFactory get(java.lang.Object object)
object
- PersistenceFactory get(PersistentState state)
state
-