Class MapValidator

    • Constructor Detail

      • MapValidator

        public MapValidator​(ParameterValidator elementValidator)
        Constructs a new MapValidator
        Parameters:
        elementValidator - validator for list elements
      • MapValidator

        public MapValidator​(ParameterValidator elementValidator,
                            boolean nullable)
        Constructs a new MapValidator
        Parameters:
        elementValidator - validator for map values
        nullable - true if the model node for the list can be null or ModelType.UNDEFINED
      • MapValidator

        public MapValidator​(ParameterValidator elementValidator,
                            boolean nullable,
                            int minSize,
                            int maxSize)
        Constructs a new MapValidator
        Parameters:
        elementValidator - validator for map values
        nullable - true if the model node for the map can be null or ModelType.UNDEFINED
        minSize - minimum number of elements in the list
        maxSize - maximum number of elements in the list