Term

@Serializable
@SerialName(value = "Term")
data class Term(val id: Identifier, val value: Pattern, val attributes: List<Attribute> = emptyList(), val comment: Entry.Comment? = null, val docComment: DocComment? = null) : Entry(source)

A term entry - a reusable value that can be referenced by other messages.

Terms are similar to messages but start with a dash (-) and can be referenced using the {-termId} syntax.

Constructors

Link copied to clipboard
constructor(id: Identifier, value: Pattern, attributes: List<Attribute> = emptyList(), comment: Entry.Comment? = null, docComment: DocComment? = null)

Properties

Link copied to clipboard

List of attributes

Link copied to clipboard

A comment associated with this term

Link copied to clipboard
Link copied to clipboard

The term identifier (without the leading dash)

Link copied to clipboard

The term value (required pattern)