com.mmm.cms.homehealth.beans
Class BaseHomeHealthDateBean

java.lang.Object
  extended by com.mmm.cms.homehealth.beans.BaseHomeHealthBean
      extended by com.mmm.cms.homehealth.beans.BaseHomeHealthDateBean
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InformationCompleteDateBean, StartOfCareDateBean

public class BaseHomeHealthDateBean
extends BaseHomeHealthBean

This is the basic bean the provides valid values and ranges for dates

See Also:
Serialized Form

Field Summary
protected  java.text.SimpleDateFormat dateFormatter
           
 
Fields inherited from class com.mmm.cms.homehealth.beans.BaseHomeHealthBean
valueLabels
 
Constructor Summary
BaseHomeHealthDateBean()
           
BaseHomeHealthDateBean(java.lang.String title, java.lang.String[] values)
           
 
Method Summary
 boolean isValidValue(java.lang.String actualValue)
          Utility method to check the actualValue against the validValues.
 
Methods inherited from class com.mmm.cms.homehealth.beans.BaseHomeHealthBean
getTitle, getValidValues, getValidValues, getValueLabels, getValueLabels, setTitle, setValidValues, setValidValues, setValueLabels, setValueLabels
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dateFormatter

protected java.text.SimpleDateFormat dateFormatter
Constructor Detail

BaseHomeHealthDateBean

public BaseHomeHealthDateBean(java.lang.String title,
                              java.lang.String[] values)

BaseHomeHealthDateBean

public BaseHomeHealthDateBean()
Method Detail

isValidValue

public boolean isValidValue(java.lang.String actualValue)
Description copied from class: BaseHomeHealthBean
Utility method to check the actualValue against the validValues.

Overrides:
isValidValue in class BaseHomeHealthBean
Parameters:
actualValue - can be null
Returns:
true if the actualValue is contained within the valueValues