SortAttribute

sealed class SortAttribute<T>

Inner representation of sorting feature specification.

Inheritors

Types

Link copied to clipboard
data class FieldNameSortAttribute<T>(val name: String) : SortAttribute<T>

Referenced by name attribute.

Link copied to clipboard
data class FieldSortAttribute<T>(val field: KProperty1<T, Comparable<*>?>, val name: String) : SortAttribute<T>

KProperty referenced attribute.

Properties

Link copied to clipboard
abstract val name: String

Name of attribute