Module io.helidon.json.schema
Package io.helidon.json.schema
Class SchemaObject.BuilderBase.SchemaObjectImpl
java.lang.Object
io.helidon.json.schema.SchemaItem.BuilderBase.SchemaItemImpl
io.helidon.json.schema.SchemaObject.BuilderBase.SchemaObjectImpl
- All Implemented Interfaces:
Prototype.Api
,SchemaItem
,SchemaObject
- Enclosing class:
SchemaObject.BuilderBase<BUILDER extends SchemaObject.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends SchemaObject>
protected static class SchemaObject.BuilderBase.SchemaObjectImpl
extends SchemaItem.BuilderBase.SchemaItemImpl
implements SchemaObject
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.json.schema.SchemaItem
SchemaItem.Builder, SchemaItem.BuilderBase<BUILDER extends SchemaItem.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends SchemaItem> Nested classes/interfaces inherited from interface io.helidon.json.schema.SchemaObject
SchemaObject.Builder, SchemaObject.BuilderBase<BUILDER extends SchemaObject.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends SchemaObject> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SchemaObjectImpl
(SchemaObject.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionWhether any additional properties are allowed.Map of all array properties.Map of all boolean properties.boolean
default void
generate
(Hson.Struct.Builder builder) int
hashCode()
Map of all integer properties.Maximum number of the object properties.Minimum number of the object properties.Map of all null properties.Map of all number properties.Map of all object properties.Map of all registered properties.Map of all string properties.toString()
Methods inherited from class io.helidon.json.schema.SchemaItem.BuilderBase.SchemaItemImpl
description, required, schemaType, title
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.helidon.json.schema.SchemaItem
description, required, schemaType, title
-
Constructor Details
-
SchemaObjectImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
maxProperties
Description copied from interface:SchemaObject
Maximum number of the object properties.- Specified by:
maxProperties
in interfaceSchemaObject
- Returns:
- maximum number of the properties
-
minProperties
Description copied from interface:SchemaObject
Minimum number of the object properties.- Specified by:
minProperties
in interfaceSchemaObject
- Returns:
- minimum number of the properties
-
additionalProperties
Description copied from interface:SchemaObject
Whether any additional properties are allowed. If set to true, all the available properties have to be added via corresponding property methods.- Specified by:
additionalProperties
in interfaceSchemaObject
- Returns:
- whether are additional properties allowed
-
properties
Description copied from interface:SchemaObject
Map of all registered properties.- Specified by:
properties
in interfaceSchemaObject
- Returns:
- all registered properties
-
stringProperties
Description copied from interface:SchemaObject
Map of all string properties.- Specified by:
stringProperties
in interfaceSchemaObject
- Returns:
- all string properties
-
objectProperties
Description copied from interface:SchemaObject
Map of all object properties.- Specified by:
objectProperties
in interfaceSchemaObject
- Returns:
- all object properties
-
arrayProperties
Description copied from interface:SchemaObject
Map of all array properties.- Specified by:
arrayProperties
in interfaceSchemaObject
- Returns:
- all array properties
-
numberProperties
Description copied from interface:SchemaObject
Map of all number properties.- Specified by:
numberProperties
in interfaceSchemaObject
- Returns:
- all number properties
-
integerProperties
Description copied from interface:SchemaObject
Map of all integer properties.- Specified by:
integerProperties
in interfaceSchemaObject
- Returns:
- all integer properties
-
booleanProperties
Description copied from interface:SchemaObject
Map of all boolean properties.- Specified by:
booleanProperties
in interfaceSchemaObject
- Returns:
- all boolean properties
-
nullProperties
Description copied from interface:SchemaObject
Map of all null properties.- Specified by:
nullProperties
in interfaceSchemaObject
- Returns:
- all null properties
-
toString
- Overrides:
toString
in classSchemaItem.BuilderBase.SchemaItemImpl
-
equals
- Overrides:
equals
in classSchemaItem.BuilderBase.SchemaItemImpl
-
hashCode
public int hashCode()- Overrides:
hashCode
in classSchemaItem.BuilderBase.SchemaItemImpl
-
schemaType
SchemaType schemaType() -
generate
-