Class ArraySchemaWrapper
- java.lang.Object
-
- io.apicurio.registry.rules.compatibility.jsonschema.wrapper.EqualitySchemaWrapper
-
- io.apicurio.registry.rules.compatibility.jsonschema.wrapper.ArraySchemaWrapper
-
- All Implemented Interfaces:
SchemaWrapper
public class ArraySchemaWrapper extends EqualitySchemaWrapper implements SchemaWrapper
- Author:
- Jakub Senko 'jsenko@redhat.com'
-
-
Constructor Summary
Constructors Constructor Description ArraySchemaWrapper(org.everit.json.schema.ArraySchema wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JsonSchemaWrapperVisitor visitor)
SchemaWrapper
getAllItemSchema()
SchemaWrapper
getContainedItemSchema()
List<SchemaWrapper>
getItemSchemas()
Integer
getMaxItems()
Integer
getMinItems()
SchemaWrapper
getSchemaOfAdditionalItems()
boolean
needsUniqueItems()
boolean
permitsAdditionalItems()
-
Methods inherited from class io.apicurio.registry.rules.compatibility.jsonschema.wrapper.EqualitySchemaWrapper
equals, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.apicurio.registry.rules.compatibility.jsonschema.wrapper.SchemaWrapper
getWrapped
-
-
-
-
Method Detail
-
getMinItems
public Integer getMinItems()
-
getMaxItems
public Integer getMaxItems()
-
needsUniqueItems
public boolean needsUniqueItems()
-
getAllItemSchema
public SchemaWrapper getAllItemSchema()
-
permitsAdditionalItems
public boolean permitsAdditionalItems()
-
getItemSchemas
public List<SchemaWrapper> getItemSchemas()
-
getSchemaOfAdditionalItems
public SchemaWrapper getSchemaOfAdditionalItems()
-
getContainedItemSchema
public SchemaWrapper getContainedItemSchema()
-
accept
public void accept(JsonSchemaWrapperVisitor visitor)
- Specified by:
accept
in interfaceSchemaWrapper
-
-