- All Superinterfaces:
Prototype.Api,SchemaItem
- All Known Implementing Classes:
SchemaInteger.BuilderBase.SchemaIntegerImpl
Json schema related to the integer numbers.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forSchemaInteger.static classSchemaInteger.BuilderBase<BUILDER extends SchemaInteger.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends SchemaInteger> Fluent API builder base forSchemaInteger. -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaInteger.Builderbuilder()Create a new fluent API builder to customize configuration.static SchemaInteger.Builderbuilder(SchemaInteger instance) Create a new fluent API builder from an existing instance.static SchemaIntegercreate()Create a new instance with default values.Maximal exclusive value of the integer number.Minimal exclusive value of the integer number.default voidgenerate(Hson.Struct.Builder builder) maximum()Maximal value of the integer number.minimum()Minimal value of the integer number.Value restriction to be a multiple of a given integer number.Methods inherited from interface io.helidon.json.schema.SchemaItem
description, required, schemaType, title
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance with default values.- Returns:
- a new instance
-
multipleOf
Value restriction to be a multiple of a given integer number.- Returns:
- multiple value restriction
-
minimum
Minimal value of the integer number. Cannot be higher than maximal configured value. Mutually exclusive toexclusiveMinimum().- Returns:
- minimal value
-
maximum
Maximal value of the integer number. Cannot be lower than minimal configured value. Mutually exclusive toexclusiveMaximum().- Returns:
- maximal value
-
exclusiveMaximum
Maximal exclusive value of the integer number. Cannot be lower than minimal configured value. Mutually exclusive tomaximum().- Returns:
- maximal exclusive value
-
exclusiveMinimum
Minimal exclusive value of the integer number. Cannot be higher than maximal configured value. Mutually exclusive tominimum().- Returns:
- minimal exclusive value
-
schemaType
SchemaType schemaType() -
generate
-