Class NumberSchemaWrapper
- java.lang.Object
-
- io.apicurio.registry.rules.compatibility.jsonschema.wrapper.EqualitySchemaWrapper
-
- io.apicurio.registry.rules.compatibility.jsonschema.wrapper.NumberSchemaWrapper
-
- All Implemented Interfaces:
SchemaWrapper
public class NumberSchemaWrapper extends EqualitySchemaWrapper implements SchemaWrapper
- Author:
- Jakub Senko 'jsenko@redhat.com'
-
-
Constructor Summary
Constructors Constructor Description NumberSchemaWrapper(org.everit.json.schema.NumberSchema wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JsonSchemaWrapperVisitor visitor)
Number
getExclusiveMaximumLimit()
Number
getExclusiveMinimumLimit()
Number
getMaximum()
Number
getMinimum()
Number
getMultipleOf()
boolean
isExclusiveMaximum()
boolean
isExclusiveMinimum()
boolean
requiresInteger()
-
Methods inherited from class io.apicurio.registry.rules.compatibility.jsonschema.wrapper.EqualitySchemaWrapper
equals, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.apicurio.registry.rules.compatibility.jsonschema.wrapper.SchemaWrapper
getWrapped
-
-
-
-
Method Detail
-
accept
public void accept(JsonSchemaWrapperVisitor visitor)
- Specified by:
accept
in interfaceSchemaWrapper
-
isExclusiveMinimum
public boolean isExclusiveMinimum()
-
getMinimum
public Number getMinimum()
-
getExclusiveMinimumLimit
public Number getExclusiveMinimumLimit()
-
isExclusiveMaximum
public boolean isExclusiveMaximum()
-
getMaximum
public Number getMaximum()
-
getExclusiveMaximumLimit
public Number getExclusiveMaximumLimit()
-
getMultipleOf
public Number getMultipleOf()
-
requiresInteger
public boolean requiresInteger()
-
-