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