| Package | Description | 
|---|---|
| griffon.plugins.validation.constraints | |
| org.codehaus.griffon.runtime.validation.constraints | 
| Modifier and Type | Method and Description | 
|---|---|
| static ConstraintDef | Constraints. blank(boolean value) | 
| static ConstraintDef | Constraints. creditCard(boolean value) | 
| static ConstraintDef | Constraints. date(String value) | 
| static ConstraintDef | Constraints. email(boolean value) | 
| static ConstraintDef | Constraints. inList(List<?> elements) | 
| static ConstraintDef | Constraints. matches(String pattern) | 
| static ConstraintDef | Constraints. max(Object value) | 
| static ConstraintDef | Constraints. maxSize(int value) | 
| static ConstraintDef | Constraints. min(Object value) | 
| static ConstraintDef | Constraints. minSize(int value) | 
| static ConstraintDef | Constraints. notEqual(Object value) | 
| static ConstraintDef | Constraints. nullable(boolean value) | 
| static ConstraintDef | Constraints. range(char from,
     char to) | 
| static ConstraintDef | Constraints. range(double from,
     double to) | 
| static ConstraintDef | Constraints. range(Enum from,
     Enum to) | 
| static ConstraintDef | Constraints. range(float from,
     float to) | 
| static ConstraintDef | Constraints. range(int from,
     int to) | 
| static ConstraintDef | Constraints. range(long from,
     long to) | 
| static ConstraintDef | Constraints. scale(int scale) | 
| static ConstraintDef | Constraints. size(int from,
    int to) | 
| static ConstraintDef | Constraints. url(boolean value) | 
| static ConstraintDef | Constraints. url(List<?> pattern) | 
| static ConstraintDef | Constraints. url(String pattern) | 
| static ConstraintDef | Constraints. validator(ObjectValidator<?,?> validator) | 
| static ConstraintDef | Constraints. validator(PropertyValidator<?> validator) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<ConstraintDef> | PropertyConstraintDef. getConstraints() | 
| static Map<String,List<ConstraintDef>> | ConstraintUtils. getDefaultConstraints(Configuration configuration) | 
| static CollectionUtils.ListBuilder<ConstraintDef> | Constraints. list() | 
| static CollectionUtils.ListBuilder<ConstraintDef> | Constraints. list(ConstraintDef... defs) | 
| static CollectionUtils.MapBuilder<String,List<ConstraintDef>> | Constraints. map() | 
| Modifier and Type | Method and Description | 
|---|---|
| static CollectionUtils.ListBuilder<ConstraintDef> | Constraints. list(ConstraintDef... defs) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ConstrainedPropertyAssembler. assemble(Map<String,List<ConstraintDef>> constraints) | 
| Constructor and Description | 
|---|
| PropertyConstraintDef(String name,
                     List<ConstraintDef> constraints) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | DefaultConstraintsEvaluator. applyDefaultConstraints(String propertyName,
                       Property p,
                       ConstrainedProperty cp,
                       Map<String,List<ConstraintDef>> defaultConstraints) | 
| protected void | DefaultConstraintsEvaluator. applySharedConstraints(ConstrainedPropertyAssembler constrainedPropertyBuilder,
                      Map<String,ConstrainedProperty> constrainedProperties,
                      Map<String,List<ConstraintDef>> defaultConstraints) | 
| void | DefaultConstrainedPropertyAssembler. assemble(Map<String,List<ConstraintDef>> constraints) | 
| protected void | DefaultConstrainedPropertyAssembler. assembleConstraint(String property,
                  List<ConstraintDef> constraints) |