public abstract class ChildBase extends org.melati.poem.JdbcPersistent
Persistent
Child Object.
See org.melati.poem.prepro.TableDef#generatePersistentBaseJava| Modifier and Type | Field and Description |
|---|---|
protected Integer |
id
id
|
protected String |
name
name
|
protected Integer |
parent
parent
|
valid| Constructor and Description |
|---|
ChildBase() |
| Modifier and Type | Method and Description |
|---|---|
ChildTable<Child> |
getChildTable()
Retrieves the
ChildTable table
which this Persistent is from. |
Integer |
getId_unsafe()
Retrieves the
Id value, without locking,
for this Child Persistent. |
Integer |
getId()
Retrieves the Id value, with locking, for this
Child Persistent. |
org.melati.poem.Field<Integer> |
getIdField()
Retrieves the
Id value as a Field
from this Child Persistent. |
String |
getName_unsafe()
Retrieves the
Name value, without locking,
for this Child Persistent. |
String |
getName()
Retrieves the Name value, with locking, for this
Child Persistent. |
org.melati.poem.Field<String> |
getNameField()
Retrieves the
Name value as a Field
from this Child Persistent. |
OdmgDatabaseTables |
getOdmgDatabaseTables()
Retrieves the Database object.
|
Integer |
getParent_unsafe()
Retrieves the
Parent value, without locking,
for this Child Persistent. |
Parent |
getParent()
Retrieves the
Parent object referred to. |
org.melati.poem.Field<Integer> |
getParentField()
Retrieves the
Parent value as a Field
from this Child Persistent. |
Integer |
getParentTroid()
Retrieves the Table Row Object ID.
|
void |
setId_unsafe(Integer cooked)
Sets the
Id value directly, without checking,
for this Child Persistent. |
void |
setId(int cooked)
Sets the
Id value, with checking, for this
Child Persistent. |
void |
setId(Integer cooked)
Sets the
Id value, with checking, for this
Child Persistent. |
void |
setName_unsafe(String cooked)
Sets the
Name value directly, without checking,
for this Child Persistent. |
void |
setName(String cooked)
Sets the
Name value, with checking, for this
Child Persistent. |
void |
setParent_unsafe(Integer cooked)
Sets the
Parent value directly, without checking,
for this Child Persistent. |
void |
setParent(Parent cooked)
Set the Parent.
|
void |
setParentTroid(Integer raw)
Sets the Table Row Object ID.
|
assertCanCreate, assertCanCreate, assertCanDelete, assertCanDelete, assertCanRead, assertCanRead, assertCanWrite, assertCanWrite, clone, commit, countMatchSQL, delete_unsafe, delete, delete, deleteAndCommit, deleteAndCommit, deleteLock, displayString, displayString, displayString, dump, dump, duplicated, duplicatedFloating, equals, existenceLock, existenceLock, fieldsOfColumns, fromClause, getCanDelete, getCanRead, getCanSelect, getCanWrite, getChildren, getCooked, getCookedString, getDatabase, getDetailDisplayFields, getField, getFields, getPrimaryDisplayField, getRaw, getRawString, getReadable, getRecordDisplayFields, getSearchCriterionFields, getSummaryDisplayFields, getTable, getTroid, hashCode, invalidate, isDirty, load, makePersistent, postEdit, postInsert, postModify, postWrite, preEdit, readLock, readLock, readLock, rollback, setCooked, setDirty, setRaw, setRawString, statusExistent, statusNonexistent, toString, troid, upToDate, writeDown, writeLock, writeLock, writeLockmarkValid, reset, setTransactionPool, transactionPool, unSeeprotected Integer id
protected String name
protected Integer parent
public OdmgDatabaseTables getOdmgDatabaseTables()
public ChildTable<Child> getChildTable()
ChildTable table
which this Persistent is from.
See org.melati.poem.prepro.TableDef#generatePersistentBaseJavapublic Integer getId_unsafe()
Id value, without locking,
for this Child Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethodspublic void setId_unsafe(Integer cooked)
Id value directly, without checking,
for this Child Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethodscooked - the pre-validated value to setpublic Integer getId() throws org.melati.poem.AccessPoemException
Child Persistent.
Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethodsId for this
Child Persistentorg.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic void setId(Integer cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Id value, with checking, for this
Child Persistent.
Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethodscooked - a validated intorg.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightsorg.melati.poem.ValidationPoemException - if the value is not validpublic final void setId(int cooked)
throws org.melati.poem.AccessPoemException,
org.melati.poem.ValidationPoemException
Id value, with checking, for this
Child Persistent.
Generated by org.melati.poem.prepro.IntegerFieldDef#generateBaseMethodscooked - a validated intorg.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightsorg.melati.poem.ValidationPoemException - if the value is not validpublic org.melati.poem.Field<Integer> getIdField() throws org.melati.poem.AccessPoemException
Id value as a Field
from this Child Persistent.
see org.melati.poem.prepro.FieldDef#generateFieldCreatororg.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic String getName_unsafe()
Name value, without locking,
for this Child Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethodspublic void setName_unsafe(String cooked)
Name value directly, without checking,
for this Child Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethodscooked - the pre-validated value to setpublic String getName() throws org.melati.poem.AccessPoemException
Child Persistent.
Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethodsgetName in interface org.melati.poem.TreeablegetName in class org.melati.poem.JdbcPersistentName for this
Child Persistentorg.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic void setName(String cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Name value, with checking, for this
Child Persistent.
Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethodscooked - a validated intorg.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightsorg.melati.poem.ValidationPoemException - if the value is not validpublic org.melati.poem.Field<String> getNameField() throws org.melati.poem.AccessPoemException
Name value as a Field
from this Child Persistent.
see org.melati.poem.prepro.FieldDef#generateFieldCreatororg.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic Integer getParent_unsafe()
Parent value, without locking,
for this Child Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethodspublic void setParent_unsafe(Integer cooked)
Parent value directly, without checking,
for this Child Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethodscooked - the pre-validated value to setpublic Integer getParentTroid() throws org.melati.poem.AccessPoemException
Integerorg.melati.poem.AccessPoemException - if the current AccessToken
does not confer read access rightspublic void setParentTroid(Integer raw) throws org.melati.poem.AccessPoemException
raw - a Table Row Object Idorg.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic Parent getParent() throws org.melati.poem.AccessPoemException, org.melati.poem.NoSuchRowPoemException
Parent object referred to.
Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethodsParent as a Parentorg.melati.poem.AccessPoemException - if the current AccessToken
does not confer read access rightsorg.melati.poem.NoSuchRowPoemException - if the Persistent has yet to be allocated a TROIDpublic void setParent(Parent cooked) throws org.melati.poem.AccessPoemException
cooked - a validated Parentorg.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic org.melati.poem.Field<Integer> getParentField() throws org.melati.poem.AccessPoemException
Parent value as a Field
from this Child Persistent.
see org.melati.poem.prepro.FieldDef#generateFieldCreatororg.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightsCopyright © 2000–2021 PanEris. All rights reserved.