|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujoframework.extensions.AbstractUjo
org.ujoframework.implementation.quick.QuickUjo
org.ujoframework.orm.AbstractMetaModel
org.ujoframework.orm.metaModel.MetaParams
public class MetaParams
A logical database description. The class is a root of database configuration.
| Field Summary | |
|---|---|
static Property<MetaParams,CachePolicy> |
CACHE_POLICY
Enable / disable a session cache for the business objects. |
static Property<MetaParams,java.lang.Boolean> |
CACHE_WEAK_MAP
The parameters enables the the cache implementation by WeakHashMap. |
static java.util.logging.Logger |
LOGGER
|
static Property<MetaParams,Orm2ddlPolicy> |
ORM2DLL_POLICY
A policy to defining the database structure by a DDL. |
static Property<MetaParams,java.io.File> |
SAVE_CONFIG_TO_FILE
Framework can save the final configuration file to a new file for an external use. |
static Property<MetaParams,java.lang.Integer> |
SEQUENCE_CACHE
Sequential cache parameter saves the number of requests to the following sequence when a insert statement into DB. |
static Property<MetaParams,java.lang.String> |
TABLE_ALIAS_PREFIX
Special prameter for an automatically assembled table alias prefix. |
static Property<MetaParams,java.lang.String> |
TABLE_ALIAS_SUFFIX
Special prameter for an automatically assembled table alias prefix. |
| Fields inherited from class org.ujoframework.implementation.quick.QuickUjo |
|---|
data |
| Constructor Summary | |
|---|---|
MetaParams()
|
|
| Method Summary | |
|---|---|
boolean |
isCacheEnabled()
Is the cache enabled? |
void |
writeValue(UjoProperty property,
java.lang.Object value)
It is a common method for writing all object values, however there is strongly recomended to use a method Property.setValue(Ujo,Object) to an external access for a better type safe. |
| Methods inherited from class org.ujoframework.orm.AbstractMetaModel |
|---|
get, changeDefault, isUsable, isUsable, readAuthorization, readOnly, setReadOnly, testReadOnly |
| Methods inherited from class org.ujoframework.implementation.quick.QuickUjo |
|---|
newListProperty, newProperty, newProperty, newProperty, newProperty, newProperty, newProperty, readValue |
| Methods inherited from class org.ujoframework.extensions.AbstractUjo |
|---|
clone, equals, init, init, readProperties, readUjoManager, readValueString, toString, writeValueString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.util.logging.Logger LOGGER
public static final Property<MetaParams,CachePolicy> CACHE_POLICY
public static final Property<MetaParams,java.lang.Boolean> CACHE_WEAK_MAP
public static final Property<MetaParams,java.lang.String> TABLE_ALIAS_PREFIX
public static final Property<MetaParams,java.lang.String> TABLE_ALIAS_SUFFIX
public static final Property<MetaParams,java.lang.Integer> SEQUENCE_CACHE
public static final Property<MetaParams,Orm2ddlPolicy> ORM2DLL_POLICY
public static final Property<MetaParams,java.io.File> SAVE_CONFIG_TO_FILE
| Constructor Detail |
|---|
public MetaParams()
| Method Detail |
|---|
public void writeValue(UjoProperty property,
java.lang.Object value)
QuickUjo
writeValue in interface UjowriteValue in class AbstractMetaModelproperty - Property must be a direct type only!Property.setValue(Ujo,Object)public boolean isCacheEnabled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||