Package com.blazebit.persistence.impl
Class DefaultOrderByElement
java.lang.Object
com.blazebit.persistence.impl.DefaultOrderByElement
- All Implemented Interfaces:
OrderByElement
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Constructor Summary
ConstructorDescriptionDefaultOrderByElement
(String name, int position, boolean ascending, boolean nullable, boolean nullsFirst) -
Method Summary
Modifier and TypeMethodDescriptionstatic OrderByElement
fromString
(String string, int startIndex, int endIndex) getName()
int
boolean
boolean
boolean
toString()
-
Constructor Details
-
DefaultOrderByElement
public DefaultOrderByElement(String name, int position, boolean ascending, boolean nullable, boolean nullsFirst)
-
-
Method Details
-
getName
-
getPosition
public int getPosition()- Specified by:
getPosition
in interfaceOrderByElement
-
isAscending
public boolean isAscending()- Specified by:
isAscending
in interfaceOrderByElement
-
isNullable
public boolean isNullable()- Specified by:
isNullable
in interfaceOrderByElement
-
isNullsFirst
public boolean isNullsFirst()- Specified by:
isNullsFirst
in interfaceOrderByElement
-
toString
-
fromString
-