Class Sort.BuilderBase<BUILDER extends Sort.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends Sort>
java.lang.Object
io.helidon.data.Sort.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:
Sort.Builder
- Enclosing interface:
Sort
public abstract static class Sort.BuilderBase<BUILDER extends Sort.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends Sort>
extends Object
implements Prototype.Builder<BUILDER, PROTOTYPE>
Fluent API builder base for
Sort.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOrderBy(Order orderBy) Listof query ordering rules.addOrderBy(Consumer<Order.Builder> consumer) Listof query ordering rules.addOrderBy(List<? extends Order> orderBy) Listof query ordering rules.Clear all orderBy.Update this builder from an existing prototype instance.from(Sort.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.orderBy()Listof query ordering rules.Listof query ordering rules.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 Prototype.Builder
buildPrototype, self
-
Constructor Details
-
BuilderBase
protected BuilderBase()Protected to support extensibility.
-
-
Method Details
-
from
-
from
Update this builder from an existing prototype builder instance.- Parameters:
builder- existing builder prototype to update this builder from- Returns:
- updated builder instance
-
clearOrderBy
-
orderBy
-
addOrderBy
-
addOrderBy
-
addOrderBy
-
orderBy
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties.
-