public static class TypedJsonSchemaObject.BooleanJsonSchemaObject extends TypedJsonSchemaObject
JsonSchemaObject implementation of type : 'boolean' schema elements.schema objects.TypedJsonSchemaObject.ArrayJsonSchemaObject, TypedJsonSchemaObject.BooleanJsonSchemaObject, TypedJsonSchemaObject.NumericJsonSchemaObject, TypedJsonSchemaObject.ObjectJsonSchemaObject, TypedJsonSchemaObject.StringJsonSchemaObjectJsonSchemaObject.Typetypesdescription, generateDescription, restrictions| Modifier and Type | Method and Description |
|---|---|
TypedJsonSchemaObject.BooleanJsonSchemaObject |
allOf(Collection<JsonSchemaObject> allOf)
The field value must match all specified schemas.
|
TypedJsonSchemaObject.BooleanJsonSchemaObject |
anyOf(Collection<JsonSchemaObject> anyOf)
The field value must match at least one of the specified schemas.
|
TypedJsonSchemaObject.BooleanJsonSchemaObject |
description(String description)
Set the description.
|
TypedJsonSchemaObject.BooleanJsonSchemaObject |
generatedDescription()
Auto generate the description if not explicitly set.
|
protected String |
generateDescription()
Customization hook for creating description out of defined values.
|
TypedJsonSchemaObject.BooleanJsonSchemaObject |
notMatch(JsonSchemaObject notMatch)
The field value must not match the specified schemas.
|
TypedJsonSchemaObject.BooleanJsonSchemaObject |
oneOf(Collection<JsonSchemaObject> oneOf)
The field value must match exactly one of the specified schemas.
|
TypedJsonSchemaObject.BooleanJsonSchemaObject |
possibleValues(Collection<? extends Object> possibleValues)
enumerates all possible values of the field.
|
getTypes, of, toDocumentnewInstancepublic TypedJsonSchemaObject.BooleanJsonSchemaObject possibleValues(Collection<? extends Object> possibleValues)
TypedJsonSchemaObjectpossibleValues in class TypedJsonSchemaObjectpossibleValues - must not be null.TypedJsonSchemaObject.public TypedJsonSchemaObject.BooleanJsonSchemaObject allOf(Collection<JsonSchemaObject> allOf)
TypedJsonSchemaObjectallOf in class TypedJsonSchemaObjectallOf - must not be null.TypedJsonSchemaObject.public TypedJsonSchemaObject.BooleanJsonSchemaObject anyOf(Collection<JsonSchemaObject> anyOf)
TypedJsonSchemaObjectanyOf in class TypedJsonSchemaObjectanyOf - must not be null.TypedJsonSchemaObject.public TypedJsonSchemaObject.BooleanJsonSchemaObject oneOf(Collection<JsonSchemaObject> oneOf)
TypedJsonSchemaObjectoneOf in class TypedJsonSchemaObjectoneOf - must not be null.TypedJsonSchemaObject.public TypedJsonSchemaObject.BooleanJsonSchemaObject notMatch(JsonSchemaObject notMatch)
TypedJsonSchemaObjectnotMatch in class TypedJsonSchemaObjectTypedJsonSchemaObject.public TypedJsonSchemaObject.BooleanJsonSchemaObject description(String description)
TypedJsonSchemaObjectdescription in class TypedJsonSchemaObjectdescription - must not be null.TypedJsonSchemaObject.public TypedJsonSchemaObject.BooleanJsonSchemaObject generatedDescription()
TypedJsonSchemaObjectgeneratedDescription in class TypedJsonSchemaObjectTypedJsonSchemaObject.protected String generateDescription()
TypedJsonSchemaObjectTypedJsonSchemaObject.toDocument() when no explicit TypedJsonSchemaObject.description(java.lang.String) is set.generateDescription in class TypedJsonSchemaObjectCopyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.