phenote.dataadapter
Interface Constraint

All Known Implementing Classes:
AbstractCommitConstraint, RequiredFieldConstraint, WormConstraint, WormInteractionConstraint

public interface Constraint


Method Summary
 ConstraintStatus checkCommit()
          do constraint check for commit time - should char list be passed in? return ConstraintStatus indication if constraint passed and error msg should only be called if isCommitConstraint is true
 ConstraintStatus checkEdit()
          do constraint check after user edit - should char list be passed in? return ConstraintStatus indication if constraint passed and error msg should only be called if isEditConstraint is true
 boolean isCommitConstraint()
          Return true if constraint should be checked at commit time to dataadapter
 boolean isEditConstraint()
          Return true if constraint should be checked after user edits move to a separate interface!
 

Method Detail

isCommitConstraint

boolean isCommitConstraint()
Return true if constraint should be checked at commit time to dataadapter


checkCommit

ConstraintStatus checkCommit()
do constraint check for commit time - should char list be passed in? return ConstraintStatus indication if constraint passed and error msg should only be called if isCommitConstraint is true


isEditConstraint

boolean isEditConstraint()
Return true if constraint should be checked after user edits move to a separate interface!


checkEdit

ConstraintStatus checkEdit()
do constraint check after user edit - should char list be passed in? return ConstraintStatus indication if constraint passed and error msg should only be called if isEditConstraint is true