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.
 
Methods inherited from interface org.beanfabrics.model.ITextPM
getOptions, getText, isModified, preset, reformat, reset, setOptions, setText
 
Methods inherited from interface org.beanfabrics.model.IValuePM
getDescription, getTitle, isEditable, isEmpty, isMandatory, setDescription, setEditable, setMandatory, setTitle
 
Methods inherited from interface org.beanfabrics.Bean
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface org.beanfabrics.validation.Validatable
getValidationState, getValidator, isValid, revalidate
 
Methods inherited from interface org.beanfabrics.support.Supportable
getSupportMap
 
Methods inherited from interface org.beanfabrics.context.ContextOwner
getContext
 
Methods inherited from interface org.beanfabrics.HasComparable
getComparable
 

Method Detail

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)