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.| Modifier and Type | Field and Description | 
|---|---|
Map<String,Object> | 
unprocessedProperties  | 
| 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(SchemaLocation location)  | 
Schema.Builder<S> | 
schemaLocation(String schemaLocation)
Deprecated. 
 
Use  
schemaLocation(SchemaLocation) instead. | 
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)
@Deprecated public Schema.Builder<S> schemaLocation(String schemaLocation)
schemaLocation(SchemaLocation) instead.public Schema.Builder<S> schemaLocation(SchemaLocation location)
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 © 2019 Everit Kft.. All rights reserved.