| java.lang.Object simpleorm.data.DRecordMeta
DRecordMeta | public class DRecordMeta (Code) | | Contains the list of field meta data within a record.
(This meta data could just be stored with each instance.
However we need separate meta data objects so that we can
issue queries etc. Also so that we can display a list of instances etc.
But it does )
|
addRefingFKey | public DForeignKeyMeta addRefingFKey(DFieldMeta... fields)(Code) | | Adds Foreign key to both the refing (field.record) and refed (this) DRecordMetas.
Ie. generates
CREATE TABLE field.table(...) FOREIGN KEY (field) references this.
(obviously all field.record must be the same.)
|
getRecordImplementation | public Object getRecordImplementation()(Code) | | |
primaryKeyField | DFieldMeta primaryKeyField(int nth)(Code) | | nth primarykey, first is 0.
Linear search, but nth is almost always 0.
|
setRecordImplementation | public void setRecordImplementation(Object recordImplementation)(Code) | | |
|
|