public class DefaultFactories extends ArrayList implements PersistenceManager.Factories
modCount| Constructor and Description |
|---|
DefaultFactories() |
| 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.
|
PersistenceFactory |
get(String className)
Return the associated persistence factory to the java class name passed as parameter
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringpublic boolean add(PersistenceFactory factory, String classNameAlias)
PersistenceManager.Factoriesadd in interface PersistenceManager.Factoriespublic boolean add(PersistenceFactory factory)
PersistenceManager.Factoriesadd in interface PersistenceManager.Factoriespublic PersistenceFactory get(String className)
className - public PersistenceFactory get(Class theClass)
PersistenceManager.Factoriesget in interface PersistenceManager.Factoriespublic PersistenceFactory get(Object object)
PersistenceManager.Factoriesget in interface PersistenceManager.Factoriespublic PersistenceFactory get(PersistentState state)
PersistenceManager.Factoriesget in interface PersistenceManager.Factories