|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.mlfc.xforms.data.DData
fi.hut.tml.xsmiles.mlfc.xforms.data.DDecimal
| Field Summary | |
protected java.math.BigDecimal |
decimalValue
|
| Fields inherited from class fi.hut.tml.xsmiles.mlfc.xforms.data.DData |
datatype |
| Constructor Summary | |
DDecimal(short dtype)
|
|
| Method Summary | |
protected void |
clearValue()
instructs subclass to set value to null, this is used for invalid values |
protected boolean |
setValueFromDisplayInternal(java.lang.String displayValue)
set the value from a display string |
protected void |
setValueFromObjectInternal(java.lang.Object obj)
set the value as a Java Object |
void |
setValueFromSchemaInternal(java.lang.String displayValue)
set the value from a Schema string |
java.lang.String |
toDisplayValueInternal()
get the display value (e.g. |
java.lang.Object |
toObjectInternal()
get the java object corresponding to the value |
protected java.lang.String |
toSchemaStringInternal()
get a schema compatible string from this data. |
| Methods inherited from class fi.hut.tml.xsmiles.mlfc.xforms.data.DData |
getDataType, getInvalidValue, isValid, setInvalidString, setValid, setValueFromDisplay, setValueFromObject, setValueFromSchema, toDisplayValue, toObject, toSchemaString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fi.hut.tml.xsmiles.mlfc.xforms.data.Data |
getDataType, getInvalidValue, isValid, setInvalidString, setValid, setValueFromDisplay, setValueFromObject, setValueFromSchema, toDisplayValue, toObject, toSchemaString |
| Field Detail |
protected java.math.BigDecimal decimalValue
| Constructor Detail |
public DDecimal(short dtype)
| Method Detail |
protected void setValueFromObjectInternal(java.lang.Object obj)
setValueFromObjectInternal in class DDataprotected boolean setValueFromDisplayInternal(java.lang.String displayValue)
setValueFromDisplayInternal in class DDatapublic void setValueFromSchemaInternal(java.lang.String displayValue)
setValueFromSchemaInternal in class DDatapublic java.lang.String toDisplayValueInternal()
toDisplayValueInternal in class DDataprotected java.lang.String toSchemaStringInternal()
toSchemaStringInternal in class DDatapublic java.lang.Object toObjectInternal()
toObjectInternal in class DDataprotected void clearValue()
clearValue in class DData
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||