|
||||||||||
| 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.ValueInfoBase
org.melati.poem.ValueInfo
public class ValueInfo
Abstract persistent generated from Poem.dsd
and extended to cover Setting and ColumnInfo.
Melati POEM generated, programmer modifiable stub
for a Persistent ValueInfo object.
Field summary for SQL table ValueInfo
| ||
|---|---|---|
| Name | Type | Description |
| displayname | String | A user-friendly name for the field |
| description | String | A brief description of the field's function |
| usereditable | Boolean | Whether it makes sense for the user to update the field's value |
| typefactory | PoemTypeFactory | The field's Melati type |
| nullable | Boolean | Whether the field can be empty |
| size | Integer | For character fields, the maximum number of characters that can be stored, (-1 for unlimited) |
| width | Integer | A sensible width for text boxes used for entering the field, where appropriate |
| height | Integer | A sensible height for text boxes used for entering the field, where appropriate |
| precision | Integer | Precision (total number of digits) for fixed-point numbers |
| scale | Integer | Scale (number of digits after the decimal) for fixed-point numbers |
| renderinfo | String | The name of the Melati templet (if not the default) to use for input controls for the field |
| rangelow_string | String | The low end of the range of permissible values for the field |
| rangelimit_string | String | The (exclusive) limit of the range of permissible values for the field |
| Field Summary |
|---|
| 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 | |
|---|---|
ValueInfo()
Constructor for a Persistent ValueInfo object. |
|
| Method Summary | |
|---|---|
FieldAttributes |
fieldAttributesRenamedAs(FieldAttributes c)
|
Field |
getRangelimit_stringField()
Retrieves the Rangelimit_string value as a Field
from this ValueInfo Persistent. |
Field |
getRangelow_stringField()
Retrieves the Rangelow_string value as a Field
from this ValueInfo Persistent. |
SQLPoemType |
getType()
NOTE A type cannot be changed once initialised. |
void |
setRangelimit_string(String value)
Sets the Rangelimit_string value, with checking, for this
ValueInfo Persistent. |
void |
setRangelow_string(String value)
Sets the Rangelow_string value, with checking, for this
ValueInfo Persistent. |
PoemTypeFactory.Parameter |
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 |
| Constructor Detail |
|---|
public ValueInfo()
Persistent ValueInfo object.
| Method Detail |
|---|
public PoemTypeFactory.Parameter toTypeParameter()
public SQLPoemType getType()
public FieldAttributes fieldAttributesRenamedAs(FieldAttributes c)
c - a FieldAttributes eg a Field
public Field getRangelow_stringField()
Rangelow_string value as a Field
from this ValueInfo Persistent.
getRangelow_stringField in class ValueInfoBaseValueInfoBase.getRangelow_stringField()public Field getRangelimit_stringField()
Rangelimit_string value as a Field
from this ValueInfo Persistent.
getRangelimit_stringField in class ValueInfoBaseValueInfoBase.getRangelimit_stringField()public void setRangelow_string(String value)
Rangelow_string value, with checking, for this
ValueInfo Persistent.
Field description:
The low end of the range of permissible values for the field
setRangelow_string in class ValueInfoBasevalue - a validated intValueInfoBase.setRangelow_string(java.lang.String)public void setRangelimit_string(String value)
Rangelimit_string value, with checking, for this
ValueInfo Persistent.
Field description:
The (exclusive) limit of the range of permissible values for the field
setRangelimit_string in class ValueInfoBasevalue - a validated intValueInfoBase.setRangelimit_string(java.lang.String)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||