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
ConstructorsModifierConstructorDescriptionprotectedSchemaStringImpl(SchemaString.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
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, generate, required, schemaType, titleMethods inherited from interface io.helidon.json.schema.SchemaString
generate
-
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()
-