Package com.floragunn.codova.validation
Class ValidatingDocNode.IntegerListAttribute
java.lang.Object
com.floragunn.codova.validation.ValidatingDocNode.AbstractAttribute<ValidatingDocNode.NumberListAttribute<T>>
com.floragunn.codova.validation.ValidatingDocNode.NumberListAttribute<Integer>
com.floragunn.codova.validation.ValidatingDocNode.IntegerListAttribute
- Enclosing class:
- ValidatingDocNode
public class ValidatingDocNode.IntegerListAttribute
extends ValidatingDocNode.NumberListAttribute<Integer>
-
Field Summary
Fields inherited from class com.floragunn.codova.validation.ValidatingDocNode.AbstractAttribute
documentNode, expandedVariable, expected, fullAttributePath, name -
Method Summary
Modifier and TypeMethodDescriptionprotected IntegerconvertFromNumber(Number number) inRange(int min, int max) com.floragunn.fluent.collections.ImmutableList<Integer>withDefault(List<Integer> defaultValue) Methods inherited from class com.floragunn.codova.validation.ValidatingDocNode.NumberListAttribute
inRange, ofNumbers, validatedByMethods inherited from class com.floragunn.codova.validation.ValidatingDocNode.AbstractAttribute
expandVariable, expandVariable, expandVariables, expandVariablesForStrings, expected, getAttributePathForValidationError
-
Method Details
-
withDefault
- Overrides:
withDefaultin classValidatingDocNode.NumberListAttribute<Integer>
-
convertFromNumber
- Specified by:
convertFromNumberin classValidatingDocNode.NumberListAttribute<Integer>
-
inRange
-
ofIntegers
-