API reference
API reference
Select your platform
No SDKs available
No versions available

StringSortCriterion Class

Extends SortCriterion
Modifiers: final
Represents a sorting criterion based on a StringAttribute.

Signature

class StringSortCriterion(val attrId: Int) : SortCriterion

Constructors

StringSortCriterion ( attrId ) : StringSortCriterion
Signature
constructor(attrId: Int)
Parameters
attrId: Int
The attribute id to sort by.

Properties

attrId : Int
[Get]
Signature
val attrId: Int
propCode : Int
[Get][Set]
Signature
var propCode: Int
sortOption : Int
[Get][Set]
Signature
var sortOption: Int

Functions

asc () : SortCriterion
function to set the sorting order to ascending
Signature
fun asc(): SortCriterion
ascCaseInsensitive () : StringSortCriterion
Specifies that the sort order should be ascending, ignoring case.
Signature
fun ascCaseInsensitive(): StringSortCriterion
Returns
The current instance of StringSortCriterion for method chaining.
desc () : SortCriterion
function to set the sorting order to descending
Signature
fun desc(): SortCriterion
descCaseInsensitive () : StringSortCriterion
Specifies that the sort order should be descending, ignoring case.
Signature
fun descCaseInsensitive(): StringSortCriterion
Returns
The current instance of StringSortCriterion for method chaining.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon