com.fasterxml.jackson.databind.jsonSchema.types
Class IntegerSchema

java.lang.Object
  extended by com.fasterxml.jackson.databind.jsonSchema.types.JsonSchema
      extended by com.fasterxml.jackson.databind.jsonSchema.types.SimpleTypeSchema
          extended by com.fasterxml.jackson.databind.jsonSchema.types.ValueTypeSchema
              extended by com.fasterxml.jackson.databind.jsonSchema.types.NumberSchema
                  extended by com.fasterxml.jackson.databind.jsonSchema.types.IntegerSchema

public class IntegerSchema
extends NumberSchema

This class represents a JsonSchema as an integer type

Author:
jphelan

Nested Class Summary
 
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.jsonSchema.types.JsonSchema
JsonSchema.JsonSchemaIdResolver
 
Field Summary
 com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes type
           
 
Constructor Summary
IntegerSchema()
           
 
Method Summary
 IntegerSchema asIntegerSchema()
          Attempt to return this JsonSchema as an IntegerSchema
 boolean equals(Object obj)
           
 Integer getDivisibleBy()
          divisibleBy
 boolean isIntegerSchema()
          determine if this JsonSchema is an IntegerSchema.
 void setDivisibleBy(Integer divisibleBy)
          divisibleBy
 
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.ValueTypeSchema
asValueSchemaSchema, getEnums, getFormat, isValueTypeSchema, setEnums, setFormat
 
Methods inherited from class com.fasterxml.jackson.databind.jsonSchema.types.SimpleTypeSchema
asSimpleTypeSchema, getDefault, getDescription, getTitle, isSimpleTypeSchema, setDefault, setDescription, setTitle
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public final com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes type
Constructor Detail

IntegerSchema

public IntegerSchema()
Method Detail

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.