public class IntegerSchema extends NumberSchema
JsonSchema as an integer typeJsonSchema.JsonSchemaIdResolver| Modifier and Type | Field and Description |
|---|---|
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes |
type |
| Constructor 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()
|
boolean |
isIntegerSchema()
determine if this JsonSchema is an
IntegerSchema. |
void |
setDivisibleBy(Integer divisibleBy)
|
asNumberSchema, getExclusiveMaximum, getExclusiveMinimum, getMaximum, getMinimum, getType, isNumberSchema, setExclusiveMaximum, setExclusiveMinimum, setMaximum, setMinimumasValueSchemaSchema, getEnums, getFormat, isValueTypeSchema, setEnums, setFormatasSimpleTypeSchema, getDefault, getDescription, getTitle, isSimpleTypeSchema, setDefault, setDescription, setTitleasAnySchema, asArraySchema, asBooleanSchema, asContainerSchema, asNullSchema, asObjectSchema, asStringSchema, asUnionTypeSchema, get$ref, get$schema, getDisallow, getExtends, getId, getRequired, isAnySchema, isArraySchema, isBooleanSchema, isContainerTypeSchema, isNullSchema, isObjectSchema, isStringSchema, isUnionTypeSchema, minimalForFormat, set$ref, set$schema, setDisallow, setExtends, setId, setRequiredpublic final com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes type
public IntegerSchema asIntegerSchema()
JsonSchemaIntegerSchemaasIntegerSchema in class JsonSchemapublic boolean equals(Object obj)
equals in class NumberSchemapublic Integer getDivisibleBy()
public boolean isIntegerSchema()
JsonSchemaIntegerSchema.isIntegerSchema in class JsonSchemapublic void setDivisibleBy(Integer divisibleBy)
divisibleBy - the divisibleBy to setCopyright © 2012 fasterxml.com. All Rights Reserved.