public class ArraySchema extends Schema
| Modifier and Type | Class and Description |
|---|---|
static class |
ArraySchema.Builder
Builder class for
ArraySchema. |
schemaLocation| Constructor and Description |
|---|
ArraySchema(ArraySchema.Builder builder)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ArraySchema.Builder |
builder() |
protected boolean |
canEqual(Object other)
Since we add state in subclasses, but want those subclasses to be non final, this allows us to
have equals methods that satisfy the equals contract.
|
boolean |
equals(Object o) |
Schema |
getAllItemSchema() |
Schema |
getContainedItemSchema() |
List<Schema> |
getItemSchemas() |
Integer |
getMaxItems() |
Integer |
getMinItems() |
Schema |
getSchemaOfAdditionalItems() |
int |
hashCode() |
boolean |
needsUniqueItems() |
boolean |
permitsAdditionalItems() |
boolean |
requiresArray() |
definesProperty, describeTo, failure, failure, getDefaultValue, getDescription, getId, getSchemaLocation, getTitle, hasDefaultValue, isNullable, isReadOnly, isWriteOnly, toString, validatepublic ArraySchema(ArraySchema.Builder builder)
builder - contains validation criteria.public static ArraySchema.Builder builder()
public Schema getAllItemSchema()
public Integer getMaxItems()
public Integer getMinItems()
public Schema getSchemaOfAdditionalItems()
public Schema getContainedItemSchema()
public boolean needsUniqueItems()
public boolean permitsAdditionalItems()
public boolean requiresArray()
protected boolean canEqual(Object other)
Schemahttp://www.artima.com/lejava/articles/equality.html
Copyright © 2018 Everit Kft.. All rights reserved.