|
||||||||||
| 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 final class MetaParams
A logical database description. The class is a root of database configuration.
| Field Summary | |
|---|---|
static Property<MetaParams,java.lang.Object> |
APPL_CONTEXT
An application context for initializaton of the customer componets of the meta-model. |
static Property<MetaParams,CachePolicy> |
CACHE_POLICY
Session cache policy. |
static Property<MetaParams,CheckReport> |
CHECK_KEYWORDS
CheckReport a keyword in the database table or colum name inside the meta-model. |
static Property<MetaParams,java.lang.Integer> |
MAX_ITEM_COUNT_4_IN
The maximal count of items for the SQL IN operator, default value is 500 items The limit is used inside the method loadLazyValuesAsBatch(..). |
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. |
static Property<MetaParams,java.lang.Class> |
TYPE_SERVICE
Change a TypeService class by a subtype for user type customization. |
| Constructor Summary | |
|---|---|
MetaParams()
|
|
| Method Summary | ||
|---|---|---|
TypeService |
getTypeService()
Returns a type service instance |
|
|
set(UjoProperty<UJO,VALUE> property,
VALUE value)
Set a parameter value |
|
MetaParams |
setApplContext(java.lang.Object applContext)
Set application context. |
|
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(org.ujoframework.Ujo, java.lang.Object)
to an external access for a better type safe. |
|
| Methods inherited from class org.ujoframework.orm.AbstractMetaModel |
|---|
get, changeDefault, checkReadOnly, isUsable, isUsable, readAuthorization, readOnly, setReadOnly |
| Methods inherited from class org.ujoframework.implementation.quick.QuickUjo |
|---|
newListProperty, 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 Property<MetaParams,CachePolicy> CACHE_POLICY
Parameter valuespublic 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
Parameter valuespublic static final Property<MetaParams,java.io.File> SAVE_CONFIG_TO_FILE
public static final Property<MetaParams,java.lang.Class> TYPE_SERVICE
public static final Property<MetaParams,CheckReport> CHECK_KEYWORDS
Parameter valuespublic static final Property<MetaParams,java.lang.Integer> MAX_ITEM_COUNT_4_IN
loadLazyValuesAsBatch(..).
OrmTools.loadLazyValuesAsBatch(java.lang.Iterable, org.ujoframework.UjoProperty)public static final Property<MetaParams,java.lang.Object> APPL_CONTEXT
| Constructor Detail |
|---|
public MetaParams()
| Method Detail |
|---|
public void writeValue(UjoProperty property,
java.lang.Object value)
QuickUjoProperty.setValue(org.ujoframework.Ujo, java.lang.Object)
to an external access for a better type safe.
The method have got a strategy place for an implementation of several listeners and validators.
writeValue in interface UjowriteValue in class AbstractMetaModelproperty - Property must be a direct type only!Property.setValue(Ujo,Object)public TypeService getTypeService()
public <UJO extends MetaParams,VALUE> MetaParams set(UjoProperty<UJO,VALUE> property,
VALUE value)
public MetaParams setApplContext(java.lang.Object applContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||