public class IntegerSchema extends NumberSchema
JsonSchema
as an integer typeConstructor and Description |
---|
IntegerSchema() |
Modifier and Type | Method and Description |
---|---|
IntegerSchema |
asIntegerSchema()
Attempt to return this JsonSchema as an
IntegerSchema |
boolean |
equals(Object obj) |
Integer |
getDivisibleBy() |
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes |
getType() |
boolean |
isIntegerSchema()
determine if this JsonSchema is an
IntegerSchema . |
void |
setDivisibleBy(Integer divisibleBy) |
asNumberSchema, getExclusiveMaximum, getExclusiveMinimum, getMaximum, getMinimum, isNumberSchema, setExclusiveMaximum, setExclusiveMinimum, setMaximum, setMinimum
asValueSchemaSchema, getEnums, getFormat, isValueTypeSchema, setEnums, setFormat
asSimpleTypeSchema, getDefault, getLinks, getPathStart, getTitle, isSimpleTypeSchema, setDefault, setLinks, setPathStart, setTitle
asAnySchema, asArraySchema, asBooleanSchema, asContainerSchema, asNullSchema, asObjectSchema, asStringSchema, asUnionTypeSchema, enrichWithBeanProperty, equals, get$ref, get$schema, getDescription, getDisallow, getExtends, getId, getRequired, isAnySchema, isArraySchema, isBooleanSchema, isContainerTypeSchema, isNullSchema, isObjectSchema, isStringSchema, isUnionTypeSchema, minimalForFormat, set$ref, set$schema, setDescription, setDisallow, setExtends, setId, setRequired
public boolean isIntegerSchema()
JsonSchema
IntegerSchema
.isIntegerSchema
in class JsonSchema
public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes getType()
getType
in class NumberSchema
public IntegerSchema asIntegerSchema()
JsonSchema
IntegerSchema
asIntegerSchema
in class JsonSchema
public Integer getDivisibleBy()
public void setDivisibleBy(Integer divisibleBy)
public boolean equals(Object obj)
equals
in class NumberSchema
Copyright © 2014-2015 FasterXML. All Rights Reserved.