Class NumberSchema

    • Field Detail

      • exclusiveMaximum

        private java.lang.Boolean exclusiveMaximum
        This attribute indicates if the value of the instance (if the instance is a number) can not equal the number defined by the "maximum" attribute.
      • exclusiveMinimum

        private java.lang.Boolean exclusiveMinimum
        This attribute indicates if the value of the instance (if the instance is a number) can not equal the number defined by the "minimum" attribute.
      • maximum

        private java.lang.Double maximum
        This attribute defines the maximum value of the instance property
      • minimum

        private java.lang.Double minimum
        This attribute defines the minimum value of the instance property
      • multipleOf

        private java.lang.Double multipleOf
        The value of the instance needs to be a multiple of this attribute
    • Constructor Detail

      • NumberSchema

        public NumberSchema()
    • Method Detail

      • getExclusiveMaximum

        public java.lang.Boolean getExclusiveMaximum()
      • getExclusiveMinimum

        public java.lang.Boolean getExclusiveMinimum()
      • getMaximum

        public java.lang.Double getMaximum()
      • getMinimum

        public java.lang.Double getMinimum()
      • getMultipleOf

        public java.lang.Double getMultipleOf()
      • getType

        public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes getType()
        Specified by:
        getType in class JsonSchema
      • isNumberSchema

        public boolean isNumberSchema()
        Description copied from class: JsonSchema
        determine if this JsonSchema is an NumberSchema.
        Overrides:
        isNumberSchema in class JsonSchema
        Returns:
        true if this JsonSchema is an NumberSchema, false otherwise
      • setExclusiveMaximum

        public void setExclusiveMaximum​(java.lang.Boolean exclusiveMaximum)
      • setExclusiveMinimum

        public void setExclusiveMinimum​(java.lang.Boolean exclusiveMinimum)
      • setMaximum

        public void setMaximum​(java.lang.Double maximum)
      • setMinimum

        public void setMinimum​(java.lang.Double minimum)
      • setMultipleOf

        public void setMultipleOf​(java.lang.Double multipleOf)
      • _equals

        protected boolean _equals​(NumberSchema that)