org.beanfabrics.model
Interface IValuePM

All Superinterfaces:
Bean, ContextOwner, PresentationModel, Supportable, Validatable
All Known Subinterfaces:
IBigDecimalPM, IBooleanPM, IDatePM, IIconPM, IIntegerPM, ITextPM
All Known Implementing Classes:
AbstractValuePM, BigDecimalPM, BooleanPM, DatePM, DecimalPM, IconPM, IconTextPM, IntegerPM, MoneyPM, TextPM

public interface IValuePM
extends PresentationModel

Author:
Michael Karneim

Method Summary
 java.lang.Comparable getComparable()
           
 java.lang.String getDescription()
           
 java.lang.String getTitle()
           
 boolean isEditable()
           
 boolean isEmpty()
          Return true if the content of this model is interpreted as empty.
 boolean isMandatory()
           
 void setDescription(java.lang.String description)
           
 void setEditable(boolean editable)
           
 void setMandatory(boolean mandatory)
           
 void setTitle(java.lang.String title)
           
 
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
 

Method Detail

getDescription

java.lang.String getDescription()

setDescription

void setDescription(java.lang.String description)

isMandatory

boolean isMandatory()

setMandatory

void setMandatory(boolean mandatory)

getTitle

java.lang.String getTitle()

setTitle

void setTitle(java.lang.String title)

isEditable

boolean isEditable()

setEditable

void setEditable(boolean editable)

isEmpty

boolean isEmpty()
Return true if the content of this model is interpreted as empty.

Returns:
true if content is empty, else false

getComparable

java.lang.Comparable getComparable()


© 2010 by Michael Karneim, http://www.beanfabrics.org