Class ClientServerGenerator.Constraints
java.lang.Object
org.davidmoten.oa3.codegen.generator.ClientServerGenerator.Constraints
- Enclosing class:
ClientServerGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Optional<BigDecimal> final Optional<BigDecimal> final Optional<BigDecimal> final Optional<BigDecimal> -
Constructor Summary
ConstructorsConstructorDescriptionConstraints(Optional<Integer> minLength, Optional<Integer> maxLength, Optional<BigDecimal> min, Optional<BigDecimal> max, Optional<BigDecimal> minExclusive, Optional<BigDecimal> maxExclusive, Optional<Integer> minItems, Optional<Integer> maxItems, Optional<String> pattern) -
Method Summary
-
Field Details
-
minLength
-
maxLength
-
min
-
max
-
minExclusive
-
maxExclusive
-
minItems
-
maxItems
-
pattern
-
-
Constructor Details
-
Constraints
public Constraints(Optional<Integer> minLength, Optional<Integer> maxLength, Optional<BigDecimal> min, Optional<BigDecimal> max, Optional<BigDecimal> minExclusive, Optional<BigDecimal> maxExclusive, Optional<Integer> minItems, Optional<Integer> maxItems, Optional<String> pattern)
-
-
Method Details
-
empty
-
atLeastOnePresent
public boolean atLeastOnePresent()
-