com.fasterxml.jackson.databind.jsonSchema.types
Class ArraySchema.SingleItems

java.lang.Object
  extended by com.fasterxml.jackson.databind.jsonSchema.types.ArraySchema.Items
      extended by com.fasterxml.jackson.databind.jsonSchema.types.ArraySchema.SingleItems
Enclosing class:
ArraySchema

public static class ArraySchema.SingleItems
extends ArraySchema.Items

When this attribute value is a jsonSchema and the instance value is an array, then all the items in the array MUST be valid according to the jsonSchema.


Constructor Summary
ArraySchema.SingleItems(JsonSchema jsonSchema)
           
 
Method Summary
 ArraySchema.SingleItems asSingleItems()
           
 boolean equals(Object obj)
           
 JsonSchema getSchema()
          jsonSchema
 boolean isSingleItems()
           
 void setSchema(JsonSchema jsonSchema)
          jsonSchema
 
Methods inherited from class com.fasterxml.jackson.databind.jsonSchema.types.ArraySchema.Items
asArrayItems, isArrayItems, jsonCreator
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArraySchema.SingleItems

public ArraySchema.SingleItems(JsonSchema jsonSchema)
Method Detail

equals

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

getSchema

public JsonSchema getSchema()
jsonSchema

Returns:
the jsonSchema

setSchema

public void setSchema(JsonSchema jsonSchema)
jsonSchema

Parameters:
jsonSchema - the jsonSchema to set

isSingleItems

public boolean isSingleItems()
Overrides:
isSingleItems in class ArraySchema.Items

asSingleItems

public ArraySchema.SingleItems asSingleItems()
Overrides:
asSingleItems in class ArraySchema.Items


Copyright © 2012 fasterxml.com. All Rights Reserved.