Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

class libtmux-java latest

Fields

Typed field handles.

Source and package
Qualified name
io.github.libtmux.query.Fields
Package
io.github.libtmux.query
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/query/Fields.java
class io.github.libtmux.query.Fields

Description#

A caller supplies each accessor, so no backend may trust the name without matching this exact handle against a model it owns.

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.

Members10#

  • flag method
  • FlagField class Boolean-valued field.
  • number method
  • NumberField class Integer-valued field. No text operators reach it.
  • text method
  • TextField class String-valued field.
  • toMany method
  • ToManyRef class To-many relation. Quantifiers are the only way in, so an unquantified relation cannot compile.
  • toOne method
  • ToOneRef class To-one relation.
Esc

Type to search.

Reference previewOpen reference