public static class IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty extends IdentifiableJsonSchemaProperty<TypedJsonSchemaObject.ArrayJsonSchemaObject>
JsonSchemaProperty
implementation for a type : 'array'
property.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty, IdentifiableJsonSchemaProperty.BooleanJsonSchemaProperty, IdentifiableJsonSchemaProperty.DateJsonSchemaProperty, IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty, IdentifiableJsonSchemaProperty.NullJsonSchemaProperty, IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty, IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty, IdentifiableJsonSchemaProperty.RequiredJsonSchemaProperty, IdentifiableJsonSchemaProperty.StringJsonSchemaProperty, IdentifiableJsonSchemaProperty.TimestampJsonSchemaProperty, IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
JsonSchemaProperty.JsonSchemaPropertyBuilder
JsonSchemaObject.Type
identifier, jsonSchemaObjectDelegate
Constructor and Description |
---|
ArrayJsonSchemaProperty(String identifier,
TypedJsonSchemaObject.ArrayJsonSchemaObject schemaObject) |
getIdentifier, getTypes, toDocument
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ArrayJsonSchemaProperty(String identifier, TypedJsonSchemaObject.ArrayJsonSchemaObject schemaObject)
identifier
- identifier the property name or patternProperty regex. Must not be
null nor empty.schemaObject
- must not be null.public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty uniqueItems(boolean uniqueItems)
uniqueItems
- IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.uniqueItems(boolean)
public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty range(Range<Integer> range)
range
- must not be null.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.range(Range)
public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty minItems(int count)
count
- IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.minItems(int)
public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty maxItems(int count)
count
- IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.maxItems(int)
public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty items(JsonSchemaObject... items)
items
- must not be null.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.items(Collection)
public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty items(Collection<JsonSchemaObject> items)
items
- must not be null.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.items(Collection)
public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty additionalItems(boolean additionalItemsAllowed)
additionalItemsAllowed
- IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.additionalItems(boolean)
public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty possibleValues(Object... possibleValues)
possibleValues
- must not be null.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.possibleValues(Collection)
public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty allOf(JsonSchemaObject... allOf)
allOf
- must not be null.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.allOf(Collection)
public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty anyOf(JsonSchemaObject... anyOf)
anyOf
- must not be null.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.anyOf(Collection)
public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty oneOf(JsonSchemaObject... oneOf)
oneOf
- must not be null.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.oneOf(Collection)
public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty possibleValues(Collection<Object> possibleValues)
possibleValues
- must not be null.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.possibleValues(Collection)
public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty allOf(Collection<JsonSchemaObject> allOf)
allOf
- must not be null.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.allOf(Collection)
public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty anyOf(Collection<JsonSchemaObject> anyOf)
anyOf
- must not be null.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.anyOf(Collection)
public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty oneOf(Collection<JsonSchemaObject> oneOf)
oneOf
- must not be null.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.oneOf(Collection)
public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty notMatch(JsonSchemaObject notMatch)
notMatch
- must not be null.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.notMatch(JsonSchemaObject)
public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty description(String description)
description
- must not be null.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.description(String)
public IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty generatedDescription()
IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
.TypedJsonSchemaObject.ArrayJsonSchemaObject.generateDescription()
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.