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

java.lang.Objectorg.melati.poem.Column
org.melati.poem.ExtraColumn
public class ExtraColumn
A Column which exists in the dbms but is not defined in the
DSD.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.melati.poem.Column |
|---|
Column.LoadException, Column.SettingException |
| Constructor Summary | |
|---|---|
ExtraColumn(Table table,
String name,
SQLPoemType type,
DefinitionSource definitionSource,
int extrasIndex)
Constructor. |
|
| Method Summary | |
|---|---|
Field |
asField(Persistent g)
Return a Field of the same type as this Column from the Persistent. |
static Column |
from(Table table,
ColumnInfo columnInfo,
int extrasIndex,
DefinitionSource source)
Static factory. |
Object |
getCooked(Persistent g)
Retrieves the field value, with locking and access control for this Column. |
Object |
getRaw_unsafe(Persistent g)
Retrieves the field value, without locking, for this Column. |
Object |
getRaw(Persistent g)
Retrieves the field value, with locking, for this Column. |
void |
setCooked(Persistent g,
Object cooked)
Sets the field value, with locking, access control and validation for this Column. |
void |
setRaw_unsafe(Persistent g,
Object raw)
Sets the field value, without locking, for this Column. |
void |
setRaw(Persistent g,
Object raw)
Sets the field value, with locking, for this Column. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExtraColumn(Table table,
String name,
SQLPoemType type,
DefinitionSource definitionSource,
int extrasIndex)
| Method Detail |
|---|
public Object getRaw(Persistent g)
throws AccessPoemException
Column.
getRaw in class Columng - the Persistent to read
AccessPoemException - if the current AccessToken
does not confer read access rightsColumn.getRaw(org.melati.poem.Persistent)public Object getRaw_unsafe(Persistent g)
Column.
getRaw_unsafe in class Columng - the Persistent to read
Column.getRaw_unsafe(org.melati.poem.Persistent)
public void setRaw(Persistent g,
Object raw)
throws AccessPoemException,
ValidationPoemException
Column.
setRaw in class Columng - the Persistent to modifyraw - the value to set the field to
AccessPoemException - if the current AccessToken
does not confer write access rights
ValidationPoemException - if the raw value is not validColumn.setRaw(org.melati.poem.Persistent, java.lang.Object)
public void setRaw_unsafe(Persistent g,
Object raw)
Column.
setRaw_unsafe in class Columng - the Persistent to modifyraw - the value to set the field toColumn.setRaw_unsafe(org.melati.poem.Persistent, java.lang.Object)
public Object getCooked(Persistent g)
throws AccessPoemException,
PoemException
Column.
getCooked in class Columng - the Persistent to modify
AccessPoemException - if the current AccessToken
does not confer read access rights
PoemException - if any problem occursColumn.getCooked(org.melati.poem.Persistent)
public void setCooked(Persistent g,
Object cooked)
throws AccessPoemException,
ValidationPoemException
Column.
setCooked in class Columng - the Persistent to modifycooked - the value to set
AccessPoemException - if the current AccessToken
does not confer read access rights
ValidationPoemException - if the value is not validColumn.setCooked(org.melati.poem.Persistent, java.lang.Object)public Field asField(Persistent g)
asField in class Columng - the Persistent
Column.asField(org.melati.poem.Persistent)
public static Column from(Table table,
ColumnInfo columnInfo,
int extrasIndex,
DefinitionSource source)
table - columnInfo - extrasIndex - source -
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||