|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Registry>
org.javalite.activejdbc.Registry
public enum Registry
| Enum Constant Summary | |
|---|---|
INSTANCE
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Registry INSTANCE
| Method Detail |
|---|
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 name
NullPointerException - 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.
public MetaModel getMetaModel(Class<? extends Model> modelClass)
protected Class<? extends Model> getModelClass(String table,
boolean suppressException)
table - table namesuppressException - true to suppress exception
protected String getTableName(Class<? extends Model> modelClass)
protected List<String> getEdges(String join)
join - name of join table;
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||