org.beanfabrics.model
Interface IBooleanPM

All Superinterfaces:
Bean, ContextOwner, HasComparable, ITextPM, IValuePM, PresentationModel, Supportable, Validatable
All Known Implementing Classes:
BooleanPM

public interface IBooleanPM
extends ITextPM

The IBooleanPM is the interface for PM components that support a Boolean value.


Method Summary
 java.lang.Boolean getBoolean()
          Returns the value of this PM as a Boolean.
 void setBoolean(java.lang.Boolean value)
          Sets the value of this PM to the given 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

setBoolean

void setBoolean(java.lang.Boolean value)
Sets the value of this PM to the given value.

Parameters:
value - the new value.
See Also:
ITextPM.setText(String)

getBoolean

java.lang.Boolean getBoolean()
Returns the value of this PM as a Boolean.

Returns:
the value of this PM as a Boolean
Throws:
ConversionException - if the text value can't be converted into a valid Boolean