|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.transaction.Transactioned org.melati.poem.JdbcPersistent org.melati.poem.generated.CapabilityBase
public abstract class CapabilityBase
Melati POEM generated abstract base class for a Persistent
Capability
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 Capability |
Fields inherited from class org.melati.poem.transaction.Transactioned |
---|
valid |
Constructor Summary | |
---|---|
CapabilityBase()
|
Method Summary | |
---|---|
CapabilityTable |
getCapabilityTable()
Retrieves the CapabilityTable table
which this Persistent is from. |
Integer |
getId_unsafe()
Retrieves the Id value, without locking,
for this Capability Persistent . |
Integer |
getId()
Retrieves the Id value, with locking, for this Capability Persistent . |
Field |
getIdField()
Retrieves the Id value as a Field
from this Capability Persistent . |
String |
getName_unsafe()
Retrieves the Name value, without locking,
for this Capability Persistent . |
String |
getName()
Retrieves the Name value, with locking, for this Capability Persistent . |
Field |
getNameField()
Retrieves the Name value as a Field
from this Capability Persistent . |
PoemDatabaseTables |
getPoemDatabaseTables()
Retrieves the Database object. |
void |
setId_unsafe(Integer cooked)
Sets the Id value directly, without checking,
for this Capability Persistent . |
void |
setId(int cooked)
Sets the Id value, with checking, for this
Capability Persistent . |
void |
setId(Integer cooked)
Sets the Id value, with checking, for this
Capability Persistent . |
void |
setName_unsafe(String cooked)
Sets the Name value directly, without checking,
for this Capability Persistent . |
void |
setName(String cooked)
Sets the Name value, with checking, for this
Capability 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 CapabilityBase()
Method Detail |
---|
public PoemDatabaseTables getPoemDatabaseTables()
TableDef.generatePersistentBaseJava(java.io.Writer)
public CapabilityTable getCapabilityTable()
CapabilityTable
table
which this Persistent
is from.
TableDef.generatePersistentBaseJava(java.io.Writer)
public Integer getId_unsafe()
Id
value, without locking,
for this Capability
Persistent
.
FieldDef.generateBaseMethods(java.io.Writer)
public void setId_unsafe(Integer cooked)
Id
value directly, without checking,
for this Capability Persistent
.
cooked
- the pre-validated value to setFieldDef.generateBaseMethods(java.io.Writer)
public Integer getId() throws AccessPoemException
Capability
Persistent
.
Field description:
The Table Row Object ID
Id
for this
Capability
Persistent
AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setId(Integer cooked) throws AccessPoemException, ValidationPoemException
Id
value, with checking, for this
Capability
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 validpublic final void setId(int cooked) throws AccessPoemException, ValidationPoemException
Id
value, with checking, for this
Capability
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 validpublic Field getIdField() throws AccessPoemException
Id
value as a Field
from this Capability
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 Capability
Persistent
.
FieldDef.generateBaseMethods(java.io.Writer)
public void setName_unsafe(String cooked)
Name
value directly, without checking,
for this Capability Persistent
.
cooked
- the pre-validated value to setFieldDef.generateBaseMethods(java.io.Writer)
public String getName() throws AccessPoemException
Capability
Persistent
.
Field description:
A human-readable name for the Capability
getName
in interface Treeable
getName
in class JdbcPersistent
Name
for this
Capability
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
Capability
Persistent
.
Field description:
A human-readable name for the Capability
cooked
- a validated int
AccessPoemException
- if the current AccessToken
does not confer write access rights
ValidationPoemException
- if the value is not validpublic Field getNameField() throws AccessPoemException
Name
value as a Field
from this Capability
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 |