public class Constant extends NoConstant
Constructor and Description |
---|
Constant()
Creates a new Constant instance, which checks only the restrictions defined on itself.
|
Constant(CheckRule cr)
Creates a new Constant instance, which wraps cr as stated by decorator
pattern.
|
checkRule, getCauses, getCausesString, initCauses, initializedCauses
public Constant()
public Constant(CheckRule cr)
cr
- the CheckRule instance to be wrapped