static class TableMapper.MutableFieldInfo
extends java.lang.Object
TableMapper.LegacyFieldInfo, to allow caching of those instances, and each TempTable instance will
have its own TableMapper.MutableFieldInfo instances, for each field.
When accessing the mutable state via TableMapper.LegacyFieldInfo, the TempTable instance is passed
as a parameter, and if non-null, it will resolve and delegate the call to the proper
TableMapper.MutableFieldInfo instance.
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
columnLabel
COLUMN-LABEL attribute of this field.
|
private int |
decimals
DECIMALS attribute of this field.
|
private java.lang.String |
format
FORMAT attribute of this field.
|
private java.lang.String |
help
HELP attribute of this field.
|
private java.lang.String |
label
LABEL attribute of this field.
|
private boolean |
literalQuestion
LITERAL-QUESTION attribute of this field.
|
private SerializeOptions |
serializeOptions
Options needed when serializing temp-table data to/from external media
|
private java.lang.String |
validateExpression
VALIDATE-EXPRESSION attribute of this field.
|
private java.lang.String |
validateMessage
VALIDATE-MESSAGE attribute of this field.
|
| Constructor and Description |
|---|
MutableFieldInfo(TableMapper.LegacyFieldInfo field)
Initialize this mutable info from the field's definition.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getColumnLabel()
Get the
columnLabel. |
int |
getDecimals()
Get the
decimals. |
java.lang.String |
getFormat()
Get the
format. |
java.lang.String |
getHelp()
Get the
help. |
java.lang.String |
getLabel()
Get the
label. |
SerializeOptions |
getSerializeOptions()
Get the
serializeOptions. |
java.lang.String |
getValidateExpression()
Get the
validateExpression. |
java.lang.String |
getValidateMessage()
Get the
validateMessage. |
boolean |
isLiteralQuestion()
Get the
literalQuestion. |
void |
setColumnLabel(java.lang.String columnLabel)
Set the
columnLabel. |
void |
setDecimals(int decimals)
Set the
decimals. |
void |
setFormat(java.lang.String format)
Set the
format. |
void |
setHelp(java.lang.String help)
Set the
help. |
void |
setLabel(java.lang.String label)
Set the
label. |
void |
setLiteralQuestion(boolean literalQuestion)
Set the
literalQuestion. |
void |
setValidateExpression(java.lang.String validateExpression)
Set the
validateExpression. |
void |
setValidateMessage(java.lang.String validateMessage)
Set the
validateMessage. |
private java.lang.String columnLabel
private int decimals
private java.lang.String format
private java.lang.String help
private java.lang.String label
private boolean literalQuestion
private java.lang.String validateExpression
private java.lang.String validateMessage
private final SerializeOptions serializeOptions
public MutableFieldInfo(TableMapper.LegacyFieldInfo field)
field - The field's definition as it appears at the temp-table.public java.lang.String getColumnLabel()
columnLabel.public void setColumnLabel(java.lang.String columnLabel)
columnLabel.columnLabel - The new column label value.public int getDecimals()
decimals.public void setDecimals(int decimals)
decimals.decimals - The new decimals value.public java.lang.String getFormat()
format.public void setFormat(java.lang.String format)
format.format - The new format value.public java.lang.String getHelp()
help.public void setHelp(java.lang.String help)
help.help - The new help value.public java.lang.String getLabel()
label.public void setLabel(java.lang.String label)
label.label - The new label value.public boolean isLiteralQuestion()
literalQuestion.public void setLiteralQuestion(boolean literalQuestion)
literalQuestion.literalQuestion - The new literal question value.public java.lang.String getValidateExpression()
validateExpression.public void setValidateExpression(java.lang.String validateExpression)
validateExpression.validateExpression - The new validate expression value.public java.lang.String getValidateMessage()
validateMessage.public void setValidateMessage(java.lang.String validateMessage)
validateMessage.validateMessage - The new validate message value.public SerializeOptions getSerializeOptions()
serializeOptions.