EntityField

data class EntityField(val name: String, val type: EntityFieldType, val sortable: Boolean = false, val filterable: Boolean = false, val enumValues: Set<String> = emptySet())(source)

A field of an entity: its name as exposed to callers, its type, and whether callers may sort or filter on it. enumValues lists the allowed values of an EntityFieldType.ENUM field.

Constructors

Link copied to clipboard
constructor(name: String, type: EntityFieldType, sortable: Boolean = false, filterable: Boolean = false, enumValues: Set<String> = emptySet())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Sorts by this field ascending.

Link copied to clipboard

Sorts by this field descending.