Package io.helidon.data.codegen.query
Class Property.BuilderBase<BUILDER extends Property.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends Property>
java.lang.Object
io.helidon.data.codegen.query.Property.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:
Property.Builder
- Enclosing interface:
Property
public abstract static class Property.BuilderBase<BUILDER extends Property.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends Property>
extends Object
implements Prototype.Builder<BUILDER,PROTOTYPE>
Fluent API builder base for
Property
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
Generated implementation of the prototype, can be extended by descendant prototype implementations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddNamePart
(CharSequence namePart) List
of property name elements.addNameParts
(List<? extends CharSequence> nameParts) List
of property name elements.Update this builder from an existing prototype instance.from
(Property.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.List
of property name elements.nameParts
(List<? extends CharSequence> nameParts) List
of property name elements.protected void
Handles providers and decorators.protected void
Validates required properties.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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
-
nameParts
List
of property name elements. Property name consists of individual elements separated by'.'
character, e.g.person.name
.- Parameters:
nameParts
-List
of property name elements- Returns:
- updated builder instance
- See Also:
-
addNameParts
List
of property name elements. Property name consists of individual elements separated by'.'
character, e.g.person.name
.- Parameters:
nameParts
-List
of property name elements- Returns:
- updated builder instance
- See Also:
-
addNamePart
List
of property name elements. Property name consists of individual elements separated by'.'
character, e.g.person.name
.- Parameters:
namePart
-List
of property name elements- Returns:
- updated builder instance
- See Also:
-
nameParts
List
of property name elements. Property name consists of individual elements separated by'.'
character, e.g.person.name
.- Returns:
- the name parts
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties.
-