org.beanfabrics.samples.properties
Class EntryPM

java.lang.Object
  extended by org.beanfabrics.AbstractBean
      extended by org.beanfabrics.ValidatableBean
          extended by org.beanfabrics.model.AbstractPM
              extended by org.beanfabrics.samples.properties.EntryPM
All Implemented Interfaces:
Bean, ContextOwner, HasComparable, PresentationModel, Supportable, Validatable

public class EntryPM
extends AbstractPM

The EntryPM is a presentation model that holds a key-value-pair.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.beanfabrics.model.AbstractPM
AbstractPM.PropertiesValidationRule
 
Field Summary
 TextPM key
           
 TextPM value
           
 
Fields inherited from class org.beanfabrics.model.AbstractPM
KEY_MESSAGE_ONE_OR_MORE_INVALID
 
Constructor Summary
EntryPM()
           
EntryPM(java.lang.String aKey, java.lang.String aValue)
           
 
Method Summary
 
Methods inherited from class org.beanfabrics.model.AbstractPM
getComparable, getContext, getSupportMap, revalidateProperties
 
Methods inherited from class org.beanfabrics.ValidatableBean
getValidationState, getValidator, isValid, revalidate, 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.Bean
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface org.beanfabrics.validation.Validatable
getValidationState, getValidator, isValid, revalidate
 

Field Detail

key

public final TextPM key

value

public final TextPM value
Constructor Detail

EntryPM

public EntryPM()

EntryPM

public EntryPM(java.lang.String aKey,
               java.lang.String aValue)