com.fasterxml.jackson.databind.jsonSchema.types
Class IntegerSchema
java.lang.Object
com.fasterxml.jackson.databind.jsonSchema.types.JsonSchema
com.fasterxml.jackson.databind.jsonSchema.types.SimpleTypeSchema
com.fasterxml.jackson.databind.jsonSchema.types.ValueTypeSchema
com.fasterxml.jackson.databind.jsonSchema.types.NumberSchema
com.fasterxml.jackson.databind.jsonSchema.types.IntegerSchema
public class IntegerSchema
- extends NumberSchema
This class represents a JsonSchema as an integer type
- Author:
- jphelan
|
Field Summary |
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes |
type
|
| Methods inherited from class com.fasterxml.jackson.databind.jsonSchema.types.NumberSchema |
asNumberSchema, getExclusiveMaximum, getExclusiveMinimum, getMaximum, getMinimum, getType, isNumberSchema, setExclusiveMaximum, setExclusiveMinimum, setMaximum, setMinimum |
| Methods inherited from class com.fasterxml.jackson.databind.jsonSchema.types.JsonSchema |
asAnySchema, 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, setRequired |
type
public final com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes type
IntegerSchema
public IntegerSchema()
asIntegerSchema
public IntegerSchema asIntegerSchema()
- Description copied from class:
JsonSchema
- Attempt to return this JsonSchema as an
IntegerSchema
- Overrides:
asIntegerSchema in class JsonSchema
- Returns:
- this as an IntegerSchema if possible, or null otherwise
equals
public boolean equals(Object obj)
- Overrides:
equals in class NumberSchema
getDivisibleBy
public Integer getDivisibleBy()
divisibleBy
- Returns:
- the divisibleBy
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
setDivisibleBy
public void setDivisibleBy(Integer divisibleBy)
divisibleBy
- Parameters:
divisibleBy - the divisibleBy to set
Copyright © 2012 fasterxml.com. All Rights Reserved.