public enum Registry extends Enum<Registry>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
static CacheManager |
cacheManager() |
Configuration |
getConfiguration() |
protected List<String> |
getEdges(String join)
Returns edges for a join.
|
MetaModel |
getMetaModel(Class<? extends Model> modelClass) |
MetaModel |
getMetaModel(String table)
Provides a MetaModel of a model representing a table.
|
protected Class<? extends Model> |
getModelClass(String table,
boolean suppressException)
Returns model class for a table name, null if not found.
|
StatisticsQueue |
getStatisticsQueue() |
protected String |
getTableName(Class<? extends Model> modelClass) |
boolean |
initialized()
Deprecated.
Not used anymore.
|
static Registry |
instance() |
static Registry |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Registry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Registry INSTANCE
public static Registry[] values()
for (Registry c : Registry.values()) System.out.println(c);
public static Registry valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Deprecated public boolean initialized()
public static Registry instance()
public StatisticsQueue getStatisticsQueue()
public Configuration getConfiguration()
public static CacheManager cacheManager()
public MetaModel getMetaModel(String table)
table
- name of table represented by this MetaModel.protected Class<? extends Model> getModelClass(String table, boolean suppressException)
table
- table namesuppressException
- true to suppress exceptionprotected List<String> getEdges(String join)
join
- name of join table;Copyright © 2018 JavaLite. All rights reserved.