java.lang.Object
net.odoframework.sql.util.MappingContext
public class MappingContext extends Object
-
Constructor Summary
Constructors Constructor Description MappingContext(Map<String,ColumnIndex> indexMap) -
Method Summary
Modifier and Type Method Description <T> Collection<T>get(String table)<T> Optional<T>get(String table, Key key)<T> Optional<MappedInstance<T>>getInstance(String table, Key key)<T> Collection<Pair<Key,MappedInstance<T>>>getInstances(String table)ColumnIndexgetTableIndexMap(String table)<T> Tset(String table, Key key, SQLSupplier<T> instance)<T> Tset(String table, Key key, T instance)MappingContextsetReference(String table, String id, Key pk, Key foreignKey)
-
Constructor Details
-
MappingContext
-
-
Method Details
-
set
-
set
-
get
-
getInstances
-
get
-
getInstance
-
setReference
-
getTableIndexMap
-