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
ConstructorsModifierConstructorDescriptionprotectedSchemaObjectImpl(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.booleandefault voidgenerate(Hson.Struct.Builder builder) inthashCode()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, titleMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:SchemaObjectMaximum number of the object properties.- Specified by:
maxPropertiesin interfaceSchemaObject- Returns:
- maximum number of the properties
-
minProperties
Description copied from interface:SchemaObjectMinimum number of the object properties.- Specified by:
minPropertiesin interfaceSchemaObject- Returns:
- minimum number of the properties
-
additionalProperties
Description copied from interface:SchemaObjectWhether any additional properties are allowed. If set to true, all the available properties have to be added via corresponding property methods.- Specified by:
additionalPropertiesin interfaceSchemaObject- Returns:
- whether are additional properties allowed
-
properties
Description copied from interface:SchemaObjectMap of all registered properties.- Specified by:
propertiesin interfaceSchemaObject- Returns:
- all registered properties
-
stringProperties
Description copied from interface:SchemaObjectMap of all string properties.- Specified by:
stringPropertiesin interfaceSchemaObject- Returns:
- all string properties
-
objectProperties
Description copied from interface:SchemaObjectMap of all object properties.- Specified by:
objectPropertiesin interfaceSchemaObject- Returns:
- all object properties
-
arrayProperties
Description copied from interface:SchemaObjectMap of all array properties.- Specified by:
arrayPropertiesin interfaceSchemaObject- Returns:
- all array properties
-
numberProperties
Description copied from interface:SchemaObjectMap of all number properties.- Specified by:
numberPropertiesin interfaceSchemaObject- Returns:
- all number properties
-
integerProperties
Description copied from interface:SchemaObjectMap of all integer properties.- Specified by:
integerPropertiesin interfaceSchemaObject- Returns:
- all integer properties
-
booleanProperties
Description copied from interface:SchemaObjectMap of all boolean properties.- Specified by:
booleanPropertiesin interfaceSchemaObject- Returns:
- all boolean properties
-
nullProperties
Description copied from interface:SchemaObjectMap of all null properties.- Specified by:
nullPropertiesin interfaceSchemaObject- Returns:
- all null properties
-
toString
- Overrides:
toStringin classSchemaItem.BuilderBase.SchemaItemImpl
-
equals
- Overrides:
equalsin classSchemaItem.BuilderBase.SchemaItemImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classSchemaItem.BuilderBase.SchemaItemImpl
-
schemaType
SchemaType schemaType() -
generate
-