On this page
io.github.libtmux.query.Fields.Fields
- Module
- io.github.libtmux.query.Fields
- Package
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/query/Fields.java
-
Typed field handles.
<p>A caller supplies each accessor, so no backend may trust the name without matching this exact handle against a model it owns.
<p>Each kind exposes only the operators its type supports, so
Pane_.index().startsWith(..)is a compile error rather than a runtime class cast. This is the half of the metamodel that has to exist by hand or by generator; the generator only writes the accessors, never the semantics.
10 declared, 0 inherited
Members
- ToManyRef class To-many relation. Quantifiers are the only way in, so an unquantified relation cannot compile.
- ToOneRef class To-one relation.
- flag method
- number method
- text method
- toMany method
- toOne method
- FlagField struct Boolean-valued field.
- NumberField struct Integer-valued field. No text operators reach it.
- TextField struct String-valued field.