Annotatable

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun annotatedBy(annotation: SiftType)

Filter elements that are decorated by annotation

Link copied to clipboard
inline fun <T> Annotatable<*>.annotatedBy()
Link copied to clipboard
open fun annotations(filter: SiftType? = null, f: Annotations.() -> Unit)
abstract fun annotations(label: String? = null, filter: SiftType? = null, f: Annotations.() -> Unit)
Link copied to clipboard
abstract fun readAnnotation(annotation: SiftType, attribute: String): Action<Iter<ELEMENT>, IterValues>

Reads the element value of the attribute name belonging to annotation. If the element value is an array, the array is flattened when added to entity properties.