|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.melati.poem.transaction.Transactioned
org.melati.poem.JdbcPersistent
org.melati.poem.generated.TableCategoryBase
public abstract class TableCategoryBase
Melati POEM generated abstract base class for a Persistent
TableCategory Object.
TableDef.generatePersistentBaseJava(java.io.Writer)| Field Summary | |
|---|---|
protected Integer |
id
id - The Table Row Object ID |
protected String |
name
name - A human-readable name for the category |
| Fields inherited from class org.melati.poem.transaction.Transactioned |
|---|
valid |
| Constructor Summary | |
|---|---|
TableCategoryBase()
|
|
| Method Summary | |
|---|---|
Integer |
getId_unsafe()
Retrieves the Id value, without locking,
for this TableCategory Persistent. |
Integer |
getId()
Retrieves the Id value, with locking, for this TableCategory Persistent. |
Field |
getIdField()
Retrieves the Id value as a Field
from this TableCategory Persistent. |
String |
getName_unsafe()
Retrieves the Name value, without locking,
for this TableCategory Persistent. |
String |
getName()
Retrieves the Name value, with locking, for this TableCategory Persistent. |
Field |
getNameField()
Retrieves the Name value as a Field
from this TableCategory Persistent. |
PoemDatabaseTables |
getPoemDatabaseTables()
Retrieves the Database object. |
TableCategoryTable |
getTableCategoryTable()
Retrieves the TableCategoryTable table
which this Persistent is from. |
void |
setId_unsafe(Integer cooked)
Sets the Id value directly, without checking,
for this TableCategory Persistent. |
void |
setId(int cooked)
Sets the Id value, with checking, for this
TableCategory Persistent. |
void |
setId(Integer cooked)
Sets the Id value, with checking, for this
TableCategory Persistent. |
void |
setName_unsafe(String cooked)
Sets the Name value directly, without checking,
for this TableCategory Persistent. |
void |
setName(String cooked)
Sets the Name value, with checking, for this
TableCategory Persistent. |
| Methods inherited from class org.melati.poem.transaction.Transactioned |
|---|
markValid, reset, setTransactionPool, transactionPool, unSee |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Integer id
protected String name
| Constructor Detail |
|---|
public TableCategoryBase()
| Method Detail |
|---|
public PoemDatabaseTables getPoemDatabaseTables()
TableDef.generatePersistentBaseJava(java.io.Writer)public TableCategoryTable getTableCategoryTable()
TableCategoryTable table
which this Persistent is from.
TableDef.generatePersistentBaseJava(java.io.Writer)public Integer getId_unsafe()
Id value, without locking,
for this TableCategory Persistent.
FieldDef.generateBaseMethods(java.io.Writer)public void setId_unsafe(Integer cooked)
Id value directly, without checking,
for this TableCategory Persistent.
cooked - the pre-validated value to setFieldDef.generateBaseMethods(java.io.Writer)
public Integer getId()
throws AccessPoemException
TableCategory Persistent.
Field description:
The Table Row Object ID
Id for this
TableCategory Persistent
AccessPoemException - if the current AccessToken
does not confer write access rights
public void setId(Integer cooked)
throws AccessPoemException,
ValidationPoemException
Id value, with checking, for this
TableCategory Persistent.
Field description:
The Table Row Object ID
cooked - a validated int
AccessPoemException - if the current AccessToken
does not confer write access rights
ValidationPoemException - if the value is not valid
public final void setId(int cooked)
throws AccessPoemException,
ValidationPoemException
Id value, with checking, for this
TableCategory Persistent.
Field description:
The Table Row Object ID
cooked - a validated int
AccessPoemException - if the current AccessToken
does not confer write access rights
ValidationPoemException - if the value is not valid
public Field getIdField()
throws AccessPoemException
Id value as a Field
from this TableCategory Persistent.
AccessPoemException - if the current AccessToken
does not confer write access rightsFieldDef.generateFieldCreator(java.io.Writer)public String getName_unsafe()
Name value, without locking,
for this TableCategory Persistent.
FieldDef.generateBaseMethods(java.io.Writer)public void setName_unsafe(String cooked)
Name value directly, without checking,
for this TableCategory Persistent.
cooked - the pre-validated value to setFieldDef.generateBaseMethods(java.io.Writer)
public String getName()
throws AccessPoemException
TableCategory Persistent.
Field description:
A human-readable name for the category
getName in interface TreeablegetName in class JdbcPersistentName for this
TableCategory Persistent
AccessPoemException - if the current AccessToken
does not confer write access rightsTreeable.getName()
public void setName(String cooked)
throws AccessPoemException,
ValidationPoemException
Name value, with checking, for this
TableCategory Persistent.
Field description:
A human-readable name for the category
cooked - a validated int
AccessPoemException - if the current AccessToken
does not confer write access rights
ValidationPoemException - if the value is not valid
public Field getNameField()
throws AccessPoemException
Name value as a Field
from this TableCategory Persistent.
AccessPoemException - if the current AccessToken
does not confer write access rightsFieldDef.generateFieldCreator(java.io.Writer)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||