Class Order.Builder
java.lang.Object
io.helidon.data.codegen.query.Order.BuilderBase<Order.Builder, Order>
io.helidon.data.codegen.query.Order.Builder
- All Implemented Interfaces:
Prototype.Builder<Order.Builder, Order>, Builder<Order.Builder, Order>, Supplier<Order>
- Enclosing interface:
Order
public static class Order.Builder
extends Order.BuilderBase<Order.Builder, Order>
implements Builder<Order.Builder, Order>
Fluent API builder for
Order.-
Nested Class Summary
Nested classes/interfaces inherited from class Order.BuilderBase
Order.BuilderBase.OrderImplModifier 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 Order.BuilderBase
addExpression, addExpression, addExpressions, clearExpressions, expressions, expressions, from, from, preBuildPrototype, toString, validatePrototypeModifier and TypeMethodDescriptionaddExpression(OrderExpression expression) Ordering expressions.addExpression(Consumer<OrderExpression.Builder> consumer) Ordering expressions.addExpressions(List<? extends OrderExpression> expressions) Ordering expressions.Clear all expressions.Ordering expressions.expressions(List<? extends OrderExpression> expressions) Ordering expressions.Update this builder from an existing prototype instance.from(Order.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.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 Orderget()default Order.Builderidentity()Instance of this builder as the correct type.default Order.Builderupdate(Consumer<Order.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault Order.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<Order.Builder, Order>- 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<Order.Builder, Order>- Returns:
- instance of the built type
-