Module io.helidon.json.schema
Package io.helidon.json.schema
Class SchemaInteger.BuilderBase<BUILDER extends SchemaInteger.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends SchemaInteger>
java.lang.Object
io.helidon.json.schema.SchemaItem.BuilderBase<BUILDER,PROTOTYPE>
io.helidon.json.schema.SchemaInteger.BuilderBase<BUILDER,PROTOTYPE>
- Type Parameters:
BUILDER
- type of the builder extending this abstract builderPROTOTYPE
- type of the prototype interface that would be built byPrototype.Builder.buildPrototype()
- All Implemented Interfaces:
Prototype.Builder<BUILDER,
PROTOTYPE>
- Direct Known Subclasses:
SchemaInteger.Builder
- Enclosing interface:
SchemaInteger
public abstract static class SchemaInteger.BuilderBase<BUILDER extends SchemaInteger.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends SchemaInteger>
extends SchemaItem.BuilderBase<BUILDER,PROTOTYPE>
implements Prototype.Builder<BUILDER,PROTOTYPE>
Fluent API builder base for
SchemaInteger
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
Generated implementation of the prototype, can be extended by descendant prototype implementations.Nested classes/interfaces inherited from class io.helidon.json.schema.SchemaItem.BuilderBase
SchemaItem.BuilderBase.SchemaItemImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClear existing value of this property.Clear existing value of this property.Clear existing value of this property.Clear existing value of this property.Clear existing value of this property.Maximal exclusive value of the integer number.exclusiveMaximum
(int value) Maximal exclusive value of the integer number.exclusiveMaximum
(long exclusiveMaximum) Maximal exclusive value of the integer number.Minimal exclusive value of the integer number.exclusiveMinimum
(int value) Minimal exclusive value of the integer number.exclusiveMinimum
(long exclusiveMinimum) Minimal exclusive value of the integer number.from
(SchemaInteger prototype) Update this builder from an existing prototype instance.from
(SchemaInteger.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.maximum()
Maximal value of the integer number.maximum
(int value) Maximal value of the integer number.maximum
(long maximum) Maximal value of the integer number.minimum()
Minimal value of the integer number.minimum
(int value) Minimal value of the integer number.minimum
(long minimum) Minimal value of the integer number.Value restriction to be a multiple of a given integer number.multipleOf
(int value) Value restriction to be a multiple of a given integer number.multipleOf
(long multipleOf) Value restriction to be a multiple of a given integer number.protected void
Handles providers and decorators.toString()
protected void
Validates required properties.Methods inherited from class io.helidon.json.schema.SchemaItem.BuilderBase
clearDescription, clearTitle, description, description, from, from, required, required, title, title
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.helidon.builder.api.Prototype.Builder
buildPrototype, self
-
Constructor Details
-
BuilderBase
protected BuilderBase()Protected to support extensibility.
-
-
Method Details
-
from
Update this builder from an existing prototype instance. This method disables automatic service discovery.- Parameters:
prototype
- existing prototype to update this builder from- Returns:
- updated builder instance
-
from
Update this builder from an existing prototype builder instance.- Parameters:
builder
- existing builder prototype to update this builder from- Returns:
- updated builder instance
-
multipleOf
Value restriction to be a multiple of a given integer number.- Parameters:
value
- multiple value restriction- Returns:
- updated builder instance
- See Also:
-
minimum
Minimal value of the integer number. Cannot be higher than maximal configured value. Mutually exclusive toexclusiveMinimum()
.- Parameters:
value
- minimal value- Returns:
- updated builder instance
- See Also:
-
maximum
Maximal value of the integer number. Cannot be lower than minimal configured value. Mutually exclusive toexclusiveMaximum()
.- Parameters:
value
- maximal value- Returns:
- updated builder instance
- See Also:
-
exclusiveMaximum
Maximal exclusive value of the integer number. Cannot be lower than minimal configured value. Mutually exclusive tomaximum()
.- Parameters:
value
- maximal exclusive value- Returns:
- updated builder instance
- See Also:
-
exclusiveMinimum
Minimal exclusive value of the integer number. Cannot be lower than maximal configured value. Mutually exclusive tominimum()
.- Parameters:
value
- minimal exclusive value- Returns:
- updated builder instance
- See Also:
-
clearMultipleOf
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
multipleOf
Value restriction to be a multiple of a given integer number.- Parameters:
multipleOf
- multiple value restriction- Returns:
- updated builder instance
- See Also:
-
clearMinimum
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
minimum
Minimal value of the integer number. Cannot be higher than maximal configured value. Mutually exclusive toexclusiveMinimum()
.- Parameters:
minimum
- minimal value- Returns:
- updated builder instance
- See Also:
-
clearMaximum
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
maximum
Maximal value of the integer number. Cannot be lower than minimal configured value. Mutually exclusive toexclusiveMaximum()
.- Parameters:
maximum
- maximal value- Returns:
- updated builder instance
- See Also:
-
clearExclusiveMaximum
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
exclusiveMaximum
Maximal exclusive value of the integer number. Cannot be lower than minimal configured value. Mutually exclusive tomaximum()
.- Parameters:
exclusiveMaximum
- maximal exclusive value- Returns:
- updated builder instance
- See Also:
-
clearExclusiveMinimum
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
exclusiveMinimum
Minimal exclusive value of the integer number. Cannot be higher than maximal configured value. Mutually exclusive tominimum()
.- Parameters:
exclusiveMinimum
- minimal exclusive value- Returns:
- updated builder instance
- See Also:
-
multipleOf
Value restriction to be a multiple of a given integer number.- Returns:
- the multiple of
-
minimum
Minimal value of the integer number. Cannot be higher than maximal configured value. Mutually exclusive toexclusiveMinimum()
.- Returns:
- the minimum
-
maximum
Maximal value of the integer number. Cannot be lower than minimal configured value. Mutually exclusive toexclusiveMaximum()
.- Returns:
- the maximum
-
exclusiveMaximum
Maximal exclusive value of the integer number. Cannot be lower than minimal configured value. Mutually exclusive tomaximum()
.- Returns:
- the exclusive maximum
-
exclusiveMinimum
Minimal exclusive value of the integer number. Cannot be higher than maximal configured value. Mutually exclusive tominimum()
.- Returns:
- the exclusive minimum
-
toString
- Overrides:
toString
in classSchemaItem.BuilderBase<BUILDER extends SchemaInteger.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends SchemaInteger>
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators.- Overrides:
preBuildPrototype
in classSchemaItem.BuilderBase<BUILDER extends SchemaInteger.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends SchemaInteger>
-
validatePrototype
protected void validatePrototype()Validates required properties.- Overrides:
validatePrototype
in classSchemaItem.BuilderBase<BUILDER extends SchemaInteger.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends SchemaInteger>
-