Interface SchemaNull
- All Superinterfaces:
Prototype.Api, SchemaItem
- All Known Implementing Classes:
SchemaNull.BuilderBase.SchemaNullImpl
Json schema related to the null types.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forSchemaNull.static classSchemaNull.BuilderBase<BUILDER extends SchemaNull.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends SchemaNull>Fluent API builder base forSchemaNull. -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaNull.Builderbuilder()Create a new fluent API builder to customize configuration.static SchemaNull.Builderbuilder(SchemaNull instance) Create a new fluent API builder from an existing instance.static SchemaNullcreate()Create a new instance with default values.Methods inherited from interface SchemaItem
description, generate, required, schemaType, titleModifier and TypeMethodDescriptionDescription of the item.default voidgenerate(JsonObject.Builder builder) Generated the Json schema item to the Json.booleanrequired()Used in the object properties to mark required property.Schema type of the item.title()Title of the item.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
-
schemaType
SchemaType schemaType()
-