EntityPropertyRegistrar

interface EntityPropertyRegistrar<ELEMENT : Element>(source)

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun editor(vararg ops: TextTransformer): Action<Iter<ELEMENT>, IterValues>

internal function primarily used during graphviz dot generation

Link copied to clipboard
open fun property(key: String, extract: Action<Iter<ELEMENT>, IterValues>): Property<ELEMENT>
open fun property(entity: Entity.Type, key: String, extract: Action<Iter<ELEMENT>, IterValues>)

abstract fun property(key: String, strategy: PropertyStrategy, extract: Action<Iter<ELEMENT>, IterValues>): Property<ELEMENT>

Associates entity property tag with result of extract action.

abstract fun property(entity: Entity.Type, key: String, strategy: PropertyStrategy, extract: Action<Iter<ELEMENT>, IterValues>)

updates existing entities with property

Link copied to clipboard
abstract fun readName(shorten: Boolean = false): Action<Iter<ELEMENT>, IterValues>

Reads the short form name of the element

Link copied to clipboard
abstract fun <E : Enum<E>> withValue(value: E): Action<Iter<ELEMENT>, IterValues>
abstract fun withValue(value: Boolean): Action<Iter<ELEMENT>, IterValues>
abstract fun withValue(value: Number): Action<Iter<ELEMENT>, IterValues>
abstract fun withValue(value: String): Action<Iter<ELEMENT>, IterValues>

abstract fun withValue(value: Entity.Type): Action<Iter<ELEMENT>, IterValues>

Associates value with entity.