|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.codestreet.messageforge.RFldConstraintDatetime
Class to represent a constraint on a date message field.
Constructor Summary | |
protected |
RFldConstraintDatetime()
Ctor. |
Method Summary | |
abstract boolean |
isValid(java.util.Date data)
Check if a date message field satisfies the constraint. |
boolean |
isValid(RFld fld)
Check if a datetime message field satisfies the constraint. |
void |
validate(RFld fld)
Check if a message field satisfies the constraint. |
void |
validate(RFld fld,
java.util.Date val)
Check if a value satisfies the constraint. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.codestreet.messageforge.RFldConstraint |
errDesc |
Constructor Detail |
protected RFldConstraintDatetime()
Method Detail |
public void validate(RFld fld) throws FieldValidationException
validate
in interface RFldConstraint
fld
- Field to validate.
FieldValidationException
RFld
public void validate(RFld fld, java.util.Date val) throws FieldValidationException
val
- Value to validate.
FieldValidationException
public boolean isValid(RFld fld)
isValid
in interface RFldConstraint
fld
- Field to validate.
RFld
public abstract boolean isValid(java.util.Date data)
data
- Data to validate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |