Class SchemaString.BuilderBase.SchemaStringImpl
java.lang.Object
io.helidon.json.schema.SchemaItem.BuilderBase.SchemaItemImpl
io.helidon.json.schema.SchemaString.BuilderBase.SchemaStringImpl
- All Implemented Interfaces:
Prototype.Api, SchemaItem, SchemaString
- Enclosing class:
SchemaString.BuilderBase<BUILDER extends SchemaString.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends SchemaString>
protected static class SchemaString.BuilderBase.SchemaStringImpl
extends SchemaItem.BuilderBase.SchemaItemImpl
implements SchemaString
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface SchemaItem
SchemaItem.Builder, SchemaItem.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forSchemaItem.static classSchemaItem.BuilderBase<BUILDER extends SchemaItem.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends SchemaItem>Fluent API builder base forSchemaItem.Nested classes/interfaces inherited from interface SchemaString
SchemaString.Builder, SchemaString.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forSchemaString.static classSchemaString.BuilderBase<BUILDER extends SchemaString.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends SchemaString>Fluent API builder base forSchemaString. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSchemaStringImpl(SchemaString.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Methods inherited from class SchemaItem.BuilderBase.SchemaItemImpl
description, required, schemaType, titleMethods inherited from interface SchemaItem
generateModifier and TypeMethodDescriptiondefault voidgenerate(JsonObject.Builder builder) Generated the Json schema item to the Json.Methods inherited from interface SchemaString
generateModifier and TypeMethodDescriptiondefault voidgenerate(JsonObject.Builder builder) Generated the Json schema item to the Json.
-
Constructor Details
-
SchemaStringImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
maxLength
Description copied from interface:SchemaStringMaximum length of the string.- Specified by:
maxLengthin interfaceSchemaString- Returns:
- maximum string length
-
minLength
Description copied from interface:SchemaStringMinimum length of the string.- Specified by:
minLengthin interfaceSchemaString- Returns:
- minimum string length
-
pattern
Description copied from interface:SchemaStringString pattern to follow.- Specified by:
patternin interfaceSchemaString- Returns:
- string pattern
-
toString
- Overrides:
toStringin classSchemaItem.BuilderBase.SchemaItemImpl
-
equals
- Overrides:
equalsin classSchemaItem.BuilderBase.SchemaItemImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classSchemaItem.BuilderBase.SchemaItemImpl
-
schemaType
SchemaType schemaType()
-