|
||||||||||
| 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.admin.test.generated.SpecialisedBase
public abstract class SpecialisedBase
Melati POEM generated abstract base class for a Persistent
Specialised Object.
prepro.TableDef| Field Summary | |
|---|---|
protected java.lang.Integer |
id
id |
protected java.lang.String |
name
name - The name of the thing |
| Fields inherited from class org.melati.poem.transaction.Transactioned |
|---|
valid |
| Constructor Summary | |
|---|---|
SpecialisedBase()
|
|
| Method Summary | |
|---|---|
AdminTestDatabaseTables |
getAdminTestDatabaseTables()
Retrieves the Database object. |
java.lang.Integer |
getId_unsafe()
Retrieves the Id value, without locking,
for this Specialised Persistent. |
java.lang.Integer |
getId()
Retrieves the Id value, with locking, for this Specialised Persistent. |
Field |
getIdField()
Retrieves the Id value as a Field
from this Specialised Persistent. |
java.lang.String |
getName_unsafe()
Retrieves the Name value, without locking,
for this Specialised Persistent. |
java.lang.String |
getName()
Retrieves the Name value, with locking, for this Specialised Persistent. |
Field |
getNameField()
Retrieves the Name value as a Field
from this Specialised Persistent. |
SpecialisedTable |
getSpecialisedTable()
Retrieves the SpecialisedTable table
which this Persistent is from. |
void |
setId_unsafe(java.lang.Integer cooked)
Sets the Id value directly, without checking,
for this Specialised Persistent. |
void |
setId(int cooked)
Sets the Id value, with checking, for this
Specialised Persistent. |
void |
setId(java.lang.Integer cooked)
Sets the Id value, with checking, for this
Specialised Persistent. |
void |
setName_unsafe(java.lang.String cooked)
Sets the Name value directly, without checking,
for this Specialised Persistent. |
void |
setName(java.lang.String cooked)
Sets the Name value, with checking, for this
Specialised 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 java.lang.Integer id
protected java.lang.String name
| Constructor Detail |
|---|
public SpecialisedBase()
| Method Detail |
|---|
public AdminTestDatabaseTables getAdminTestDatabaseTables()
prepro.TableDefpublic SpecialisedTable getSpecialisedTable()
SpecialisedTable table
which this Persistent is from.
prepro.TableDefpublic java.lang.Integer getId_unsafe()
Id value, without locking,
for this Specialised Persistent.
prepro.FieldDefpublic void setId_unsafe(java.lang.Integer cooked)
Id value directly, without checking,
for this Specialised Persistent.
cooked - the pre-validated value to setprepro.FieldDef
public java.lang.Integer getId()
throws AccessPoemException
Specialised Persistent.
Id for this
Specialised Persistent
AccessPoemException - if the current AccessToken
does not confer write access rights
public void setId(java.lang.Integer cooked)
throws AccessPoemException,
ValidationPoemException
Id value, with checking, for this
Specialised Persistent.
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
Specialised Persistent.
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 Specialised Persistent.
AccessPoemException - if the current AccessToken
does not confer write access rightsprepro.FieldDefpublic java.lang.String getName_unsafe()
Name value, without locking,
for this Specialised Persistent.
prepro.FieldDefpublic void setName_unsafe(java.lang.String cooked)
Name value directly, without checking,
for this Specialised Persistent.
cooked - the pre-validated value to setprepro.FieldDef
public java.lang.String getName()
throws AccessPoemException
Specialised Persistent.
Field description:
The name of the thing
getName in interface TreeablegetName in class JdbcPersistentName for this
Specialised Persistent
AccessPoemException - if the current AccessToken
does not confer write access rights
public void setName(java.lang.String cooked)
throws AccessPoemException,
ValidationPoemException
Name value, with checking, for this
Specialised Persistent.
Field description:
The name of the thing
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 Specialised Persistent.
AccessPoemException - if the current AccessToken
does not confer write access rightsprepro.FieldDef
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||