Package io.helidon.data.codegen.query
Class OrderExpression.BuilderBase<BUILDER extends OrderExpression.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends OrderExpression>
java.lang.Object
io.helidon.data.codegen.query.OrderExpression.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:
OrderExpression.Builder
- Enclosing interface:
OrderExpression
public abstract static class OrderExpression.BuilderBase<BUILDER extends OrderExpression.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends OrderExpression>
extends Object
implements Prototype.Builder<BUILDER,PROTOTYPE>
Fluent API builder base for
OrderExpression
.-
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 TypeMethodDescriptionfrom
(OrderExpression prototype) Update this builder from an existing prototype instance.from
(OrderExpression.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.operator()
Ordering operator.operator
(OrderOperator operator) Ordering operator.protected void
Handles providers and decorators.property()
Ordering entity property.Ordering entity property.property
(Consumer<Property.Builder> consumer) Ordering entity property.Ordering entity property.toString()
protected void
Validates required properties.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
-
operator
Ordering operator.- Parameters:
operator
- the operator- Returns:
- updated builder instance
- See Also:
-
property
Ordering entity property.- Parameters:
property
- the entity property- Returns:
- updated builder instance
- See Also:
-
property
Ordering entity property.- Parameters:
consumer
- consumer of builder for the entity property- Returns:
- updated builder instance
- See Also:
-
property
Ordering entity property.- Parameters:
supplier
- supplier of the entity property- Returns:
- updated builder instance
- See Also:
-
operator
Ordering operator.- Returns:
- the operator
-
property
Ordering entity property.- Returns:
- the property
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties.
-