|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Constraint
Constraint
| Method Summary | |
|---|---|
BigDecimal |
getLowerLimit()
|
BigDecimal |
getUpperLimit()
|
boolean |
isConstraint()
The Constraint has a lower or an upper limit (possibly both). |
boolean |
isEqualityConstraint()
The Constraint has both a lower limit and an upper limit, and they are equal. |
boolean |
isLowerConstraint()
The Constraint has a lower limit, and the upper limit (if it exists) is different. |
boolean |
isUpperConstraint()
The Constraint has an upper limit, and the lower limit (if it exists) is different. |
void |
setLowerLimit(BigDecimal aValue)
|
void |
setUpperLimit(BigDecimal aValue)
|
boolean |
validate()
The lower limit (if it exists) must not be greater than the upper limit (if it exists). |
| Method Detail |
|---|
BigDecimal getLowerLimit()
BigDecimal getUpperLimit()
boolean isConstraint()
boolean isEqualityConstraint()
boolean isLowerConstraint()
boolean isUpperConstraint()
void setLowerLimit(BigDecimal aValue)
void setUpperLimit(BigDecimal aValue)
boolean validate()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||