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. |
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