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

EntitySortCriterion Class

Extends SortCriterion
Modifiers: final
Represents a sorting criterion based on an Entity attribute.

Signature

class EntitySortCriterion(val attrId: Int) : SortCriterion

Constructors

EntitySortCriterion ( attrId )
Signature
constructor(attrId: Int)
Parameters
attrId: Int
  The ID of the attribute 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 ()
function to set the sorting order to ascending
Signature
fun asc(): SortCriterion
desc ()
function to set the sorting order to descending
Signature
fun desc(): SortCriterion