public class MetaRelation2Many extends AbstractMetaModel
| Modifier and Type | Field and Description |
|---|---|
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_KEY
Table key
|
| Constructor and Description |
|---|
MetaRelation2Many() |
MetaRelation2Many(MetaTable table,
Key tableProperty,
MetaRelation2Many param) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object relation)
Two models are the same if its key names are the same for the same domain type.
|
OrmHandler |
getHandler()
OrmHandler
|
Key |
getKey()
Returns a column property
|
MetaTable |
getTable() |
Class<OrmUjo> |
getTableClass()
Returns a class of column table.
|
Object |
getValue(Ujo ujo)
Get property value
|
int |
hashCode() |
boolean |
isColumn()
It is a DB column (either a value of a foreign key),
not a relation to many.
|
boolean |
isCompositeKey()
Is it newer the composite Key
|
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()
Property name
|
changeDefault, checkReadOnly, clearReadOnly, get, readAuthorization, readOnly, setReadOnly, writeValuenewCamelFactory, newFactory, readValueclone, init, init, readKeys, readUjoManager, readValueString, writeValueStringpublic static final Key<MetaRelation2Many,String> ID
public static final Key<MetaRelation2Many,String> NAME
public static final Key<MetaRelation2Many,Key> TABLE_KEY
public static final Key<MetaRelation2Many,MetaTable> TABLE
public MetaRelation2Many()
public MetaRelation2Many(MetaTable table, Key tableProperty, MetaRelation2Many param)
public boolean isColumn()
public boolean isForeignKey()
public final Key getKey()
public final boolean isCompositeKey()
public final boolean isTypeOf(Class type)
public final MetaTable getTable()
public OrmHandler getHandler()
public String toString()
toString in class SuperAbstractUjopublic boolean equals(Object relation)
equals in class SuperAbstractUjoCopyright 2013, Pavel Ponec