Class IntegerSchema

    • Field Detail

      • divisibleBy

        private java.lang.Integer divisibleBy
        This attribute defines what value the number instance must be divisible by with no remainder (the result of the division must be an integer.) The value of this attribute SHOULD NOT be 0.
    • Constructor Detail

      • IntegerSchema

        public IntegerSchema()
    • Method Detail

      • isIntegerSchema

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

        public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes getType()
        Overrides:
        getType in class NumberSchema
      • getDivisibleBy

        public java.lang.Integer getDivisibleBy()
      • setDivisibleBy

        public void setDivisibleBy​(java.lang.Integer divisibleBy)
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class NumberSchema