Class IntegerSchema
java.lang.Object
com.fasterxml.jackson.module.jsonSchema.jakarta.JsonSchema
com.fasterxml.jackson.module.jsonSchema.jakarta.types.SimpleTypeSchema
com.fasterxml.jackson.module.jsonSchema.jakarta.types.ValueTypeSchema
com.fasterxml.jackson.module.jsonSchema.jakarta.types.NumberSchema
com.fasterxml.jackson.module.jsonSchema.jakarta.types.IntegerSchema
This class represents a
JsonSchema as an integer type- Author:
- jphelan
-
Field Summary
Fields inherited from class ValueTypeSchema
enums, formatFields inherited from class SimpleTypeSchema
defaultdefault, links, pathStart, title -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean_equals(IntegerSchema that) Attempt to return this JsonSchema as anIntegerSchemabooleancom.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypesgetType()booleandetermine if this JsonSchema is anIntegerSchema.voidsetDivisibleBy(Integer divisibleBy) Methods inherited from class NumberSchema
_equals, asNumberSchema, getExclusiveMaximum, getExclusiveMinimum, getMaximum, getMinimum, getMultipleOf, isNumberSchema, setExclusiveMaximum, setExclusiveMinimum, setMaximum, setMinimum, setMultipleOfMethods inherited from class ValueTypeSchema
_equals, asValueSchemaSchema, asValueTypeSchema, getEnums, getFormat, isValueTypeSchema, setEnums, setFormatMethods inherited from class SimpleTypeSchema
_equals, asSimpleTypeSchema, getDefault, getLinks, getPathStart, getTitle, isSimpleTypeSchema, setDefault, setLinks, setPathStart, setTitleMethods inherited from class JsonSchema
_equals, arraysEqual, asAnySchema, asArraySchema, asBooleanSchema, asContainerSchema, asContainerTypeSchema, asNullSchema, asObjectSchema, asStringSchema, asUnionTypeSchema, enrichWithBeanProperty, equals, get$ref, get$schema, getDescription, getDisallow, getExtends, getId, getReadonly, getRequired, isAnySchema, isArraySchema, isBooleanSchema, isContainerTypeSchema, isNullSchema, isObjectSchema, isStringSchema, isUnionTypeSchema, minimalForFormat, set$ref, set$schema, setDescription, setDisallow, setExtends, setId, setReadonly, setRequired
-
Constructor Details
-
IntegerSchema
public IntegerSchema()
-
-
Method Details
-
isIntegerSchema
public boolean isIntegerSchema()Description copied from class:JsonSchemadetermine if this JsonSchema is anIntegerSchema.- Overrides:
isIntegerSchemain classJsonSchema- Returns:
- true if this JsonSchema is an IntegerSchema, false otherwise
-
getType
public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes getType()- Overrides:
getTypein classNumberSchema
-
asIntegerSchema
Description copied from class:JsonSchemaAttempt to return this JsonSchema as anIntegerSchema- Overrides:
asIntegerSchemain classJsonSchema- Returns:
- this as an IntegerSchema if possible, or null otherwise
-
getDivisibleBy
-
setDivisibleBy
-
equals
- Overrides:
equalsin classNumberSchema
-
_equals
-