public abstract class ParentBase extends org.melati.poem.JdbcPersistent
Persistent
Parent Object.
See org.melati.poem.prepro.TableDef#generatePersistentBaseJava| Modifier and Type | Field and Description |
|---|---|
protected Integer |
id
id
|
protected String |
name
name
|
valid| Constructor and Description |
|---|
ParentBase() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getId_unsafe()
Retrieves the
Id value, without locking,
for this Parent Persistent. |
Integer |
getId()
Retrieves the Id value, with locking, for this
Parent Persistent. |
org.melati.poem.Field<Integer> |
getIdField()
Retrieves the
Id value as a Field
from this Parent Persistent. |
String |
getName_unsafe()
Retrieves the
Name value, without locking,
for this Parent Persistent. |
String |
getName()
Retrieves the Name value, with locking, for this
Parent Persistent. |
org.melati.poem.Field<String> |
getNameField()
Retrieves the
Name value as a Field
from this Parent Persistent. |
OdmgDatabaseTables |
getOdmgDatabaseTables()
Retrieves the Database object.
|
List<Child> |
getParentChildList()
References to this Parent in the Child table via its parent field, as a List.
|
Enumeration<Child> |
getParentChilds()
References to this Parent in the Child table via its parent field.
|
ParentTable<Parent> |
getParentTable()
Retrieves the
ParentTable table
which this Persistent is from. |
void |
setId_unsafe(Integer cooked)
Sets the
Id value directly, without checking,
for this Parent Persistent. |
void |
setId(int cooked)
Sets the
Id value, with checking, for this
Parent Persistent. |
void |
setId(Integer cooked)
Sets the
Id value, with checking, for this
Parent Persistent. |
void |
setName_unsafe(String cooked)
Sets the
Name value directly, without checking,
for this Parent Persistent. |
void |
setName(String cooked)
Sets the
Name value, with checking, for this
Parent Persistent. |
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, unSeepublic OdmgDatabaseTables getOdmgDatabaseTables()
public ParentTable<Parent> getParentTable()
ParentTable table
which this Persistent is from.
See org.melati.poem.prepro.TableDef#generatePersistentBaseJavapublic Integer getId_unsafe()
Id value, without locking,
for this Parent Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethodspublic void setId_unsafe(Integer cooked)
Id value directly, without checking,
for this Parent Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethodscooked - the pre-validated value to setpublic Integer getId() throws org.melati.poem.AccessPoemException
Parent Persistent.
Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethodsId for this
Parent 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
Parent 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
Parent 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 Parent 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 Parent Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethodspublic void setName_unsafe(String cooked)
Name value directly, without checking,
for this Parent Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethodscooked - the pre-validated value to setpublic String getName() throws org.melati.poem.AccessPoemException
Parent Persistent.
Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethodsgetName in interface org.melati.poem.TreeablegetName in class org.melati.poem.JdbcPersistentName for this
Parent 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
Parent 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 Parent Persistent.
see org.melati.poem.prepro.FieldDef#generateFieldCreatororg.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic Enumeration<Child> getParentChilds()
Copyright © 2000–2021 PanEris. All rights reserved.