EntityT
- public class FieldOrdering<EntityT> extends Object
Constructor and Description |
---|
FieldOrdering(SimpleProperty<EntityT> property,
Order order) |
Modifier and Type | Method and Description |
---|---|
static <EntityT> FieldOrdering<EntityT> |
asc(SimpleProperty<EntityT> property)
Creates a
FieldOrdering representing an ascending order over the given property |
static <EntityT> FieldOrdering<EntityT> |
desc(SimpleProperty<EntityT> property)
Creates a
FieldOrdering representing an descending order over the given property |
Order |
getOrder() |
SimpleProperty<EntityT> |
getProperty() |
public FieldOrdering(SimpleProperty<EntityT> property, Order order)
@Nonnull public static <EntityT> FieldOrdering<EntityT> asc(@Nonnull SimpleProperty<EntityT> property)
FieldOrdering
representing an ascending order over the given propertyproperty
- @Nonnull public static <EntityT> FieldOrdering<EntityT> desc(@Nonnull SimpleProperty<EntityT> property)
FieldOrdering
representing an descending order over the given propertyproperty
- public SimpleProperty<EntityT> getProperty()
public Order getOrder()
Copyright © 2020 SAP SE. All rights reserved.