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

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.BooleanSchema

public class BooleanSchema
extends ValueTypeSchema

This class represents a JsonSchema of type boolean

Author:
jphelan

Nested Class Summary
 
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.jsonSchema.types.JsonSchema
JsonSchema.JsonSchemaIdResolver
 
Constructor Summary
BooleanSchema()
           
 
Method Summary
 BooleanSchema asBooleanSchema()
          Attempt to return this JsonSchema as a BooleanSchema
 com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes getType()
           
 boolean isBooleanSchema()
          determine if this JsonSchema is an BooleanSchema.
 
Methods inherited from class com.fasterxml.jackson.databind.jsonSchema.types.ValueTypeSchema
asValueSchemaSchema, equals, 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, asContainerSchema, asIntegerSchema, asNullSchema, asNumberSchema, asObjectSchema, asStringSchema, asUnionTypeSchema, get$ref, get$schema, getDisallow, getExtends, getId, getRequired, isAnySchema, isArraySchema, isContainerTypeSchema, isIntegerSchema, isNullSchema, isNumberSchema, 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
 

Constructor Detail

BooleanSchema

public BooleanSchema()
Method Detail

isBooleanSchema

public boolean isBooleanSchema()
Description copied from class: JsonSchema
determine if this JsonSchema is an BooleanSchema.

Overrides:
isBooleanSchema in class JsonSchema
Returns:
true if this JsonSchema is an BooleanSchema, false otherwise

getType

public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes getType()
Specified by:
getType in class JsonSchema

asBooleanSchema

public BooleanSchema asBooleanSchema()
Description copied from class: JsonSchema
Attempt to return this JsonSchema as a BooleanSchema

Overrides:
asBooleanSchema in class JsonSchema
Returns:
this as a BooleanSchema if possible, or null otherwise


Copyright © 2012 fasterxml.com. All Rights Reserved.