Class Property.Builder
java.lang.Object
io.helidon.data.codegen.query.Property.BuilderBase<Property.Builder, Property>
io.helidon.data.codegen.query.Property.Builder
- All Implemented Interfaces:
Prototype.Builder<Property.Builder, Property>, Builder<Property.Builder, Property>, Supplier<Property>
- Enclosing interface:
Property
public static class Property.Builder
extends Property.BuilderBase<Property.Builder, Property>
implements Builder<Property.Builder, Property>
Fluent API builder for
Property.-
Nested Class Summary
Nested classes/interfaces inherited from class Property.BuilderBase
Property.BuilderBase.PropertyImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create an instance from this builder.Create an instance of the prototype.Methods inherited from class Property.BuilderBase
addNamePart, addNameParts, clearNameParts, from, from, nameParts, nameParts, preBuildPrototype, toString, validatePrototypeModifier and TypeMethodDescriptionaddNamePart(CharSequence namePart) Listof property name elements.addNameParts(List<? extends CharSequence> nameParts) Listof property name elements.Clear all nameParts.Update this builder from an existing prototype instance.from(Property.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.Listof property name elements.nameParts(List<? extends CharSequence> nameParts) Listof property name elements.protected voidHandles providers and decorators.toString()protected voidValidates required properties.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault Propertyget()default Property.Builderidentity()Instance of this builder as the correct type.default Property.Builderupdate(Consumer<Property.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault Property.Builderself()Instance of this builder as the correct type.
-
Method Details
-
buildPrototype
Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildPrototypein interfacePrototype.Builder<Property.Builder, Property>- Returns:
- an instance of the setup object created from this builder
-
build
Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildin interfaceBuilder<Property.Builder, Property>- Returns:
- instance of the built type
-