public final class MetaPKey extends AbstractMetaModel
| Modifier and Type | Field and Description |
|---|---|
static ListKey<MetaPKey,MetaColumn> |
COLUMNS
DB columns
|
static Key<MetaPKey,MetaTable> |
TABLE
DB table
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
int |
getCount()
Returns a count of the Primary Keys
|
MetaColumn |
getFirstColumn()
Returns the first column.
|
String |
toString() |
changeDefault, checkReadOnly, clearReadOnly, get, readAuthorization, readOnly, setReadOnly, writeValuenewCamelFactory, newFactory, readValueclone, equals, init, init, readKeys, readUjoManager, readValueString, writeValueStringpublic static final ListKey<MetaPKey,MetaColumn> COLUMNS
public MetaPKey(MetaTable table)
public String toString()
toString in class SuperAbstractUjopublic boolean assignPrimaryKey(OrmUjo bo, Session session) throws IllegalArgumentException
IllegalArgumentException - The PK can't be assigned.public MetaColumn getFirstColumn()
public MetaColumn getColumn(int i)
public int getCount()
Copyright 2013, Pavel Ponec