public static interface PersistenceManager.Factories extends List
Modifier and Type | Method and Description |
---|---|
boolean |
add(PersistenceFactory factory)
Add a new class to the factory.
|
boolean |
add(PersistenceFactory factory,
String classNameAlias)
Add a new factory to the list registering an alias.
|
PersistenceFactory |
get(Class theClass)
Return factory associated to class passed as parameter.
|
PersistenceFactory |
get(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
parallelStream, removeIf, stream
boolean add(PersistenceFactory factory, String classNameAlias)
factory
- classNameAlias
- boolean add(PersistenceFactory factory)
factory
- PersistenceFactory get(Class theClass)
class
- namePersistenceFactory get(Object object)
object
- PersistenceFactory get(PersistentState state)
state
-