S - the type of the schema being built by the builder subclass.public abstract static class Schema.Builder<S extends Schema> extends Object
Schema subclasses. This builder is
used to load the generic properties of all types of schemas like title or
description.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract S |
build() |
Schema.Builder<S> |
defaultValue(Object defaultValue) |
Schema.Builder<S> |
description(String description) |
Schema.Builder<S> |
id(String id) |
Schema.Builder<S> |
nullable(Boolean nullable) |
Schema.Builder<S> |
readOnly(Boolean readOnly) |
Schema.Builder<S> |
schemaLocation(String schemaLocation) |
Schema.Builder<S> |
title(String title) |
Schema.Builder<S> |
unprocessedProperties(Map<String,Object> unprocessedProperties) |
Schema.Builder<S> |
writeOnly(Boolean writeOnly) |
public Schema.Builder<S> title(String title)
public Schema.Builder<S> description(String description)
public Schema.Builder<S> id(String id)
public Schema.Builder<S> schemaLocation(String schemaLocation)
public Schema.Builder<S> defaultValue(Object defaultValue)
public Schema.Builder<S> nullable(Boolean nullable)
public Schema.Builder<S> readOnly(Boolean readOnly)
public Schema.Builder<S> writeOnly(Boolean writeOnly)
public Schema.Builder<S> unprocessedProperties(Map<String,Object> unprocessedProperties)
public abstract S build()
Copyright © 2018 Everit Kft.. All rights reserved.