org.beanfabrics.model
Class AbstractValuePM

java.lang.Object
  extended by org.beanfabrics.AbstractBean
      extended by org.beanfabrics.ValidatableBean
          extended by org.beanfabrics.model.AbstractPM
              extended by org.beanfabrics.model.AbstractValuePM
All Implemented Interfaces:
Bean, ContextOwner, IValuePM, PresentationModel, Supportable, Validatable
Direct Known Subclasses:
IconPM, TextPM

public abstract class AbstractValuePM
extends AbstractPM
implements IValuePM

Author:
Michael Karneim

Nested Class Summary
 class AbstractValuePM.DefaultValidationRule
           
 
Nested classes/interfaces inherited from class org.beanfabrics.model.AbstractPM
AbstractPM.PropertiesValidationRule
 
Constructor Summary
AbstractValuePM()
           
 
Method Summary
 java.lang.String getDescription()
          
 java.lang.String getTitle()
          
 boolean isEditable()
          
 boolean isMandatory()
          
 void revalidate()
          Updates the validation state of this object.
 void setDescription(java.lang.String description)
          
 void setEditable(boolean editable)
          
 void setMandatory(boolean mandatory)
          
 void setTitle(java.lang.String title)
          
 
Methods inherited from class org.beanfabrics.model.AbstractPM
createPropertiesValidationRule, getContext, getSupportMap, revalidateProperties
 
Methods inherited from class org.beanfabrics.ValidatableBean
getValidationState, getValidator, isValid, setValidationState
 
Methods inherited from class org.beanfabrics.AbstractBean
addPropertyChangeListener, addPropertyChangeListener, equals, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.beanfabrics.model.IValuePM
getComparable, isEmpty
 
Methods inherited from interface org.beanfabrics.Bean
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface org.beanfabrics.validation.Validatable
getValidationState, getValidator, isValid
 
Methods inherited from interface org.beanfabrics.support.Supportable
getSupportMap
 
Methods inherited from interface org.beanfabrics.context.ContextOwner
getContext
 

Constructor Detail

AbstractValuePM

public AbstractValuePM()
Method Detail

getDescription

public java.lang.String getDescription()

Specified by:
getDescription in interface IValuePM

setDescription

public void setDescription(java.lang.String description)

Specified by:
setDescription in interface IValuePM

isMandatory

public boolean isMandatory()

Specified by:
isMandatory in interface IValuePM

setMandatory

public void setMandatory(boolean mandatory)

Specified by:
setMandatory in interface IValuePM

getTitle

public java.lang.String getTitle()

Specified by:
getTitle in interface IValuePM

setTitle

public void setTitle(java.lang.String title)

Specified by:
setTitle in interface IValuePM

isEditable

public boolean isEditable()

Specified by:
isEditable in interface IValuePM

setEditable

public void setEditable(boolean editable)

Specified by:
setEditable in interface IValuePM

revalidate

public void revalidate()
Description copied from class: ValidatableBean
Updates the validation state of this object.

Specified by:
revalidate in interface Validatable
Overrides:
revalidate in class ValidatableBean


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