Module io.helidon.json.schema
Package io.helidon.json.schema
Class SchemaInteger.BuilderBase.SchemaIntegerImpl
java.lang.Object
io.helidon.json.schema.SchemaItem.BuilderBase.SchemaItemImpl
io.helidon.json.schema.SchemaInteger.BuilderBase.SchemaIntegerImpl
- All Implemented Interfaces:
Prototype.Api,SchemaInteger,SchemaItem
- Enclosing class:
SchemaInteger.BuilderBase<BUILDER extends SchemaInteger.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends SchemaInteger>
protected static class SchemaInteger.BuilderBase.SchemaIntegerImpl
extends SchemaItem.BuilderBase.SchemaItemImpl
implements SchemaInteger
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.SchemaInteger
SchemaInteger.Builder, SchemaInteger.BuilderBase<BUILDER extends SchemaInteger.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends SchemaInteger> Nested classes/interfaces inherited from interface io.helidon.json.schema.SchemaItem
SchemaItem.Builder, SchemaItem.BuilderBase<BUILDER extends SchemaItem.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends SchemaItem> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSchemaIntegerImpl(SchemaInteger.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbooleanMaximal exclusive value of the integer number.Minimal exclusive value of the integer number.default voidgenerate(Hson.Struct.Builder builder) inthashCode()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.toString()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, required, schemaType, title
-
Constructor Details
-
SchemaIntegerImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
multipleOf
Description copied from interface:SchemaIntegerValue restriction to be a multiple of a given integer number.- Specified by:
multipleOfin interfaceSchemaInteger- Returns:
- multiple value restriction
-
minimum
Description copied from interface:SchemaIntegerMinimal value of the integer number. Cannot be higher than maximal configured value. Mutually exclusive toSchemaInteger.exclusiveMinimum().- Specified by:
minimumin interfaceSchemaInteger- Returns:
- minimal value
-
maximum
Description copied from interface:SchemaIntegerMaximal value of the integer number. Cannot be lower than minimal configured value. Mutually exclusive toSchemaInteger.exclusiveMaximum().- Specified by:
maximumin interfaceSchemaInteger- Returns:
- maximal value
-
exclusiveMaximum
Description copied from interface:SchemaIntegerMaximal exclusive value of the integer number. Cannot be lower than minimal configured value. Mutually exclusive toSchemaInteger.maximum().- Specified by:
exclusiveMaximumin interfaceSchemaInteger- Returns:
- maximal exclusive value
-
exclusiveMinimum
Description copied from interface:SchemaIntegerMinimal exclusive value of the integer number. Cannot be higher than maximal configured value. Mutually exclusive toSchemaInteger.minimum().- Specified by:
exclusiveMinimumin interfaceSchemaInteger- Returns:
- minimal exclusive value
-
toString
- Overrides:
toStringin classSchemaItem.BuilderBase.SchemaItemImpl
-
equals
- Overrides:
equalsin classSchemaItem.BuilderBase.SchemaItemImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classSchemaItem.BuilderBase.SchemaItemImpl
-
schemaType
SchemaType schemaType() -
generate
-