org.beanfabrics.model
Interface IBigDecimalPM
- All Superinterfaces:
- Bean, ContextOwner, HasComparable, ITextPM, IValuePM, PresentationModel, Supportable, Validatable
- All Known Implementing Classes:
- BigDecimalPM, DecimalPM, IntegerPM, MoneyPM
public interface IBigDecimalPM
- extends ITextPM
The IBigDecimalPM
is the interface fo PM components that support a
BigDecimal
value.
Method Summary |
java.math.BigDecimal |
getBigDecimal()
Returns the value of this PM as a BigDecimal . |
void |
setBigDecimal(java.math.BigDecimal value)
Sets the value of this PM to the given BigDecimal value. |
getBigDecimal
java.math.BigDecimal getBigDecimal()
throws ConversionException
- Returns the value of this PM as a
BigDecimal
.
- Returns:
- the value of this PM as a
BigDecimal
- Throws:
ConversionException
- if the text value can't be converted into a
valid BigDecimal
setBigDecimal
void setBigDecimal(java.math.BigDecimal value)
- Sets the value of this PM to the given
BigDecimal
value.
- Parameters:
value
- - See Also:
ITextPM.setText(String)