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

java.lang.Object
  extended by com.fasterxml.jackson.databind.jsonSchema.types.JsonSchema
      extended by com.fasterxml.jackson.databind.jsonSchema.types.SimpleTypeSchema
Direct Known Subclasses:
AnySchema, ContainerTypeSchema, NullSchema, ValueTypeSchema

public abstract class SimpleTypeSchema
extends JsonSchema

This class encapsulates the functionality of JsonSchema simple types

Author:
jphelan

Nested Class Summary
 
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.jsonSchema.types.JsonSchema
JsonSchema.JsonSchemaIdResolver
 
Constructor Summary
SimpleTypeSchema()
           
 
Method Summary
 SimpleTypeSchema asSimpleTypeSchema()
          Attempt to return this JsonSchema as a SimpleTypeSchema
 boolean equals(Object obj)
           
 String getDefault()
          defaultdefault
 String getDescription()
          description
 String getTitle()
          title
 boolean isSimpleTypeSchema()
          determine if this JsonSchema is an SimpleTypeSchema.
 void setDefault(String defaultdefault)
          defaultdefault
 void setDescription(String description)
          description
 void setTitle(String title)
          title
 
Methods inherited from class com.fasterxml.jackson.databind.jsonSchema.types.JsonSchema
asAnySchema, asArraySchema, asBooleanSchema, asContainerSchema, asIntegerSchema, asNullSchema, asNumberSchema, asObjectSchema, asStringSchema, asUnionTypeSchema, asValueSchemaSchema, get$ref, get$schema, getDisallow, getExtends, getId, getRequired, getType, isAnySchema, isArraySchema, isBooleanSchema, isContainerTypeSchema, isIntegerSchema, isNullSchema, isNumberSchema, isObjectSchema, isStringSchema, isUnionTypeSchema, isValueTypeSchema, 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

SimpleTypeSchema

public SimpleTypeSchema()
Method Detail

asSimpleTypeSchema

public SimpleTypeSchema asSimpleTypeSchema()
Description copied from class: JsonSchema
Attempt to return this JsonSchema as a SimpleTypeSchema

Overrides:
asSimpleTypeSchema in class JsonSchema
Returns:
this as a SimpleTypeSchema if possible, or null otherwise

equals

public boolean equals(Object obj)
Overrides:
equals in class JsonSchema

getDefault

public String getDefault()
defaultdefault

Returns:
the defaultdefault

getDescription

public String getDescription()
description

Returns:
the description

getTitle

public String getTitle()
title

Returns:
the title

isSimpleTypeSchema

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

Overrides:
isSimpleTypeSchema in class JsonSchema
Returns:
true if this JsonSchema is an SimpleTypeSchema, false otherwise

setDefault

public void setDefault(String defaultdefault)
defaultdefault

Parameters:
defaultdefault - the defaultdefault to set

setDescription

public void setDescription(String description)
description

Parameters:
description - the description to set

setTitle

public void setTitle(String title)
title

Parameters:
title - the title to set


Copyright © 2012 fasterxml.com. All Rights Reserved.