|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujorm.extensions.SuperAbstractUjo
org.ujorm.extensions.AbstractUjo
org.ujorm.orm.AbstractMetaModel
org.ujorm.orm.metaModel.MetaRelation2Many
public class MetaRelation2Many
The database/object relation to many.
| Field Summary | |
|---|---|
static Key<MetaRelation2Many,String> |
ID
The meta-model ID. |
static Key<MetaRelation2Many,String> |
NAME
The database column name. |
static Key<MetaRelation2Many,MetaTable> |
TABLE
DB table |
static Key<MetaRelation2Many,Key> |
TABLE_PROPERTY
Table property |
| Constructor Summary | |
|---|---|
MetaRelation2Many()
|
|
MetaRelation2Many(MetaTable table,
Key tableProperty,
MetaRelation2Many param)
|
|
| Method Summary | |
|---|---|
OrmHandler |
getHandler()
OrmHandler |
Key |
getProperty()
Returns a column property |
MetaTable |
getTable()
|
Class<OrmUjo> |
getTableClass()
Returns a class of column table. |
Object |
getValue(Ujo ujo)
Get property value |
boolean |
isColumn()
It is a DB column (either a value of a foreign key), not a relation to many. |
boolean |
isForeignKey()
Is it a Foreign Key ? |
boolean |
isTypeOf(Class type)
Returns true if the property type is a type or subtype of the parameter class. |
String |
toString()
Column name. |
| Methods inherited from class org.ujorm.orm.AbstractMetaModel |
|---|
get, changeDefault, checkReadOnly, isFilled, isFilled, readAuthorization, readOnly, setReadOnly, writeValue |
| Methods inherited from class org.ujorm.extensions.AbstractUjo |
|---|
newCamelFactory, newFactory, readValue |
| Methods inherited from class org.ujorm.extensions.SuperAbstractUjo |
|---|
clone, equals, init, init, readKeys, readProperties, readUjoManager, readValueString, writeValueString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Key<MetaRelation2Many,String> ID
public static final Key<MetaRelation2Many,String> NAME
public static final Key<MetaRelation2Many,Key> TABLE_PROPERTY
public static final Key<MetaRelation2Many,MetaTable> TABLE
| Constructor Detail |
|---|
public MetaRelation2Many()
public MetaRelation2Many(MetaTable table,
Key tableProperty,
MetaRelation2Many param)
| Method Detail |
|---|
public boolean isColumn()
public boolean isForeignKey()
public final Key getProperty()
public final boolean isTypeOf(Class type)
public final MetaTable getTable()
public final Class<OrmUjo> getTableClass()
public final Object getValue(Ujo ujo)
public OrmHandler getHandler()
public String toString()
toString in class SuperAbstractUjo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||