| Package | Description |
|---|---|
| org.jsimpledb |
Abstraction layer allowing access to a
Database using normal Java objects. |
| Modifier and Type | Method and Description |
|---|---|
<T> JClass<? super T> |
JSimpleDB.findJClass(Class<T> type)
Find the most specific
JClass for which the give type is a sub-type of the corresponding Java model type. |
<T> JClass<T> |
JSimpleDB.getJClass(Class<T> type)
Get the
JClass modeled by the given type. |
JClass<?> |
JSimpleDB.getJClass(int storageId)
Get the
JClass associated with the given storage ID. |
JClass<?> |
JSimpleDB.getJClass(ObjId id)
Get the
JClass associated with the object ID. |
| Modifier and Type | Method and Description |
|---|---|
SortedMap<Integer,JClass<?>> |
JSimpleDB.getJClasses()
Get all
JClass's associated with this instance, indexed by storage ID. |
<T> List<JClass<? extends T>> |
JSimpleDB.getJClasses(Class<T> type)
Get all
JClasses which sub-type the given type. |
Map<Class<?>,JClass<?>> |
JSimpleDB.getJClassesByType()
Get all
JClass's associated with this instance, indexed by Java model type. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
JTransaction.create(JClass<T> jclass)
Create a new instance of the given type in this transaction.
|
Copyright © 2017. All rights reserved.