edu.umc.marrow.application.data
Class DateConstraint

java.lang.Object
  extended by edu.umc.marrow.application.data.Constraint
      extended by edu.umc.marrow.application.data.DateConstraint

public class DateConstraint
extends Constraint


Constructor Summary
DateConstraint()
           
 
Method Summary
 java.lang.String[] getOptions()
          Return the names of all the options for this Constraint.
 void validate(java.lang.String fieldName, java.lang.Object obj)
          Called to validate the given fieldName on the given Object.
 
Methods inherited from class edu.umc.marrow.application.data.Constraint
getOption, setOption
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateConstraint

public DateConstraint()
Method Detail

getOptions

public java.lang.String[] getOptions()
Description copied from class: Constraint
Return the names of all the options for this Constraint.

Specified by:
getOptions in class Constraint

validate

public void validate(java.lang.String fieldName,
                     java.lang.Object obj)
              throws ValidatorException
Description copied from class: Constraint
Called to validate the given fieldName on the given Object.

Specified by:
validate in class Constraint
Throws:
ValidatorException