← Back to Stormify Documentation

ScalarPath

open class ScalarPath(val path: String)

A type-safe field path node representing a scalar (leaf) field. Generated by the annotation processor and used with PagedListBase.addColumn.

Example:

list.addColumn(Employee_.name)               // scalar
list.addColumn(Employee_.department.name) // FK chain

Constructors

Link copied to clipboard
constructor(path: String)

Properties

Link copied to clipboard

The dot-notation path string, e.g. "department.name".

Functions

Link copied to clipboard
fun toPath(): String

Returns the dot-notation path string.

Link copied to clipboard
open override fun toString(): String

Returns the dot-notation path string.