|
||||||||||
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.ValueInfoBase org.melati.poem.ValueInfo org.melati.poem.generated.SettingBase
public abstract class SettingBase
Melati POEM generated abstract base class for a Persistent
Setting
Object.
TableDef.generatePersistentBaseJava(java.io.Writer)
Field Summary | |
---|---|
protected Integer |
id
id - The Table Row Object ID |
protected String |
name
name - A code name for this setting |
protected String |
value
value - The value of this setting |
Fields inherited from class org.melati.poem.generated.ValueInfoBase |
---|
description, displayname, height, nullable, precision, rangelimit_string, rangelow_string, renderinfo, scale, size, typefactory, usereditable, width |
Fields inherited from class org.melati.poem.transaction.Transactioned |
---|
valid |
Constructor Summary | |
---|---|
SettingBase()
|
Method Summary | |
---|---|
Integer |
getId_unsafe()
Retrieves the Id value, without locking,
for this Setting Persistent . |
Integer |
getId()
Retrieves the Id value, with locking, for this Setting Persistent . |
Field |
getIdField()
Retrieves the Id value as a Field
from this Setting Persistent . |
String |
getName_unsafe()
Retrieves the Name value, without locking,
for this Setting Persistent . |
String |
getName()
Retrieves the Name value, with locking, for this Setting Persistent . |
Field |
getNameField()
Retrieves the Name value as a Field
from this Setting Persistent . |
PoemDatabaseTables |
getPoemDatabaseTables()
Retrieves the Database object. |
SettingTable |
getSettingTable()
Retrieves the SettingTable table
which this Persistent is from. |
String |
getValue_unsafe()
Retrieves the Value value, without locking,
for this Setting Persistent . |
String |
getValue()
Retrieves the Value value, with locking, for this Setting Persistent . |
Field |
getValueField()
Retrieves the Value value as a Field
from this Setting Persistent . |
void |
setId_unsafe(Integer cooked)
Sets the Id value directly, without checking,
for this Setting Persistent . |
void |
setId(int cooked)
Sets the Id value, with checking, for this
Setting Persistent . |
void |
setId(Integer cooked)
Sets the Id value, with checking, for this
Setting Persistent . |
void |
setName_unsafe(String cooked)
Sets the Name value directly, without checking,
for this Setting Persistent . |
void |
setName(String cooked)
Sets the Name value, with checking, for this
Setting Persistent . |
void |
setValue_unsafe(String cooked)
Sets the Value value directly, without checking,
for this Setting Persistent . |
void |
setValue(String cooked)
Sets the Value value, with checking, for this
Setting Persistent . |
Methods inherited from class org.melati.poem.ValueInfo |
---|
fieldAttributesRenamedAs, getRangelimit_stringField, getRangelow_stringField, getType, setRangelimit_string, setRangelow_string, toTypeParameter |
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
protected String value
Constructor Detail |
---|
public SettingBase()
Method Detail |
---|
public PoemDatabaseTables getPoemDatabaseTables()
getPoemDatabaseTables
in class ValueInfoBase
TableDef.generatePersistentBaseJava(java.io.Writer)
public SettingTable getSettingTable()
SettingTable
table
which this Persistent
is from.
TableDef.generatePersistentBaseJava(java.io.Writer)
public Integer getId_unsafe()
Id
value, without locking,
for this Setting
Persistent
.
FieldDef.generateBaseMethods(java.io.Writer)
public void setId_unsafe(Integer cooked)
Id
value directly, without checking,
for this Setting Persistent
.
cooked
- the pre-validated value to setFieldDef.generateBaseMethods(java.io.Writer)
public Integer getId() throws AccessPoemException
Setting
Persistent
.
Field description:
The Table Row Object ID
Id
for this
Setting
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
Setting
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
Setting
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 Setting
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 Setting
Persistent
.
FieldDef.generateBaseMethods(java.io.Writer)
public void setName_unsafe(String cooked)
Name
value directly, without checking,
for this Setting Persistent
.
cooked
- the pre-validated value to setFieldDef.generateBaseMethods(java.io.Writer)
public String getName() throws AccessPoemException
Setting
Persistent
.
Field description:
A code name for this setting
getName
in interface Treeable
getName
in class JdbcPersistent
Name
for this
Setting
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
Setting
Persistent
.
Field description:
A code name for this setting
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 Setting
Persistent
.
AccessPoemException
- if the current AccessToken
does not confer write access rightsFieldDef.generateFieldCreator(java.io.Writer)
public String getValue_unsafe()
Value
value, without locking,
for this Setting
Persistent
.
FieldDef.generateBaseMethods(java.io.Writer)
public void setValue_unsafe(String cooked)
Value
value directly, without checking,
for this Setting Persistent
.
cooked
- the pre-validated value to setFieldDef.generateBaseMethods(java.io.Writer)
public String getValue() throws AccessPoemException
Setting
Persistent
.
Field description:
The value of this setting
Value
for this
Setting
Persistent
AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setValue(String cooked) throws AccessPoemException, ValidationPoemException
Value
value, with checking, for this
Setting
Persistent
.
Field description:
The value of this setting
cooked
- a validated int
AccessPoemException
- if the current AccessToken
does not confer write access rights
ValidationPoemException
- if the value is not validpublic Field getValueField() throws AccessPoemException
Value
value as a Field
from this Setting
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 |