|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectphenote.dataadapter.ConstraintManager
public class ConstraintManager
ConstraintManager holds all constraints. a constraint can be for edit and/or commit time. ConstraintStatus is returned from checking constraint that indicates failure and gives error message. Singleton. should there be a constraint package? subpackage?
| Method Summary | |
|---|---|
void |
addConstraint(Constraint c)
|
ConstraintStatus |
checkCommitConstraints()
|
ConstraintStatus |
checkEditConstraints()
|
static ConstraintManager |
inst()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ConstraintManager inst()
public ConstraintStatus checkCommitConstraints()
public ConstraintStatus checkEditConstraints()
public void addConstraint(Constraint c)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||