|
||||||||||
| 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.MetaPKey
public final class MetaPKey
The table primary key.
| Field Summary | |
|---|---|
static ListProperty<MetaPKey,MetaColumn> |
COLUMNS
DB columns |
static Property<MetaPKey,MetaTable> |
TABLE
DB table |
| Constructor Summary | |
|---|---|
MetaPKey(MetaTable table)
|
|
| Method Summary | |
|---|---|
boolean |
assignPrimaryKey(OrmUjo bo,
Session session)
Assign a PK from framework in case the PK generator is type of MEMO_SEQUENCE. |
MetaColumn |
getColumn(int i)
Returns column on the selected position. |
MetaColumn |
getFirstColumn()
Returns the first column. |
java.lang.String |
toString()
A String representation. |
| Methods inherited from class org.ujoframework.orm.AbstractMetaModel |
|---|
get, changeDefault, checkReadOnly, isUsable, isUsable, readAuthorization, readOnly, setReadOnly, writeValue |
| 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, writeValueString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Property<MetaPKey,MetaTable> TABLE
public static final ListProperty<MetaPKey,MetaColumn> COLUMNS
| Constructor Detail |
|---|
public MetaPKey(MetaTable table)
| Method Detail |
|---|
public java.lang.String toString()
AbstractUjo
toString in class AbstractUjo
public boolean assignPrimaryKey(OrmUjo bo,
Session session)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException - The PK can't be assigned.public MetaColumn getFirstColumn()
public MetaColumn getColumn(int i)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||