MCPcopy Create free account
hub / github.com/androrm/androrm / getTableDefinitions

Method getTableDefinitions

src/src/com/orm/androrm/ModelCache.java:49–55  ·  view source on GitHub ↗
(Class<T> clazz)

Source from the content-addressed store, hash-verified

47 }
48
49 public static <T extends Model> List<TableDefinition> getTableDefinitions(Class<T> clazz) {
50 if(knowsModel(clazz)) {
51 return TABLE_DEFINITIONS.get(DatabaseBuilder.getTableName(clazz));
52 }
53
54 return null;
55 }
56
57 public static <T extends Model> void setTableDefinitions(Class<T> clazz, List<TableDefinition> definitions) {
58 TABLE_DEFINITIONS.put(DatabaseBuilder.getTableName(clazz), definitions);

Callers 2

getTableDefinitionsMethod · 0.95

Calls 3

knowsModelMethod · 0.95
getTableNameMethod · 0.95
getMethod · 0.65

Tested by 1