Module io.helidon.json.schema
Package io.helidon.json.schema
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 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.SchemaString
SchemaString.Builder, SchemaString.BuilderBase<BUILDER extends SchemaString.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends SchemaString> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SchemaStringImpl
(SchemaString.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionboolean
default void
generate
(Hson.Struct.Builder builder) int
hashCode()
Maximum length of the string.Minimum length of the string.pattern()
String pattern to follow.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
-
SchemaStringImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
maxLength
Description copied from interface:SchemaString
Maximum length of the string.- Specified by:
maxLength
in interfaceSchemaString
- Returns:
- maximum string length
-
minLength
Description copied from interface:SchemaString
Minimum length of the string.- Specified by:
minLength
in interfaceSchemaString
- Returns:
- minimum string length
-
pattern
Description copied from interface:SchemaString
String pattern to follow.- Specified by:
pattern
in interfaceSchemaString
- Returns:
- string pattern
-
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
-