Package-level declarations

Types

Link copied to clipboard
sealed class Attribute

Abstract class of an attribute.

Link copied to clipboard
class AttributeList(val attributes: List<Attribute> = emptyList(), val name: String = "") : Attribute

List of attributes.

Link copied to clipboard
class AttributeListBuilder(namePrefix: String = "")

Environment for describing and building attribute lists.

Link copied to clipboard
class BooleanAttribute(val name: String, val value: Boolean) : Attribute

Attribute with a name containing a certain boolean value.

Link copied to clipboard
class DoubleAttribute(val name: String, val value: Double) : Attribute

Attribute with a name containing a certain double value.

Link copied to clipboard
class IntAttribute(val name: String, val value: Int) : Attribute

Attribute with a name containing a certain integer value.

Link copied to clipboard
class MeasureAttribute(val name: String, val value: Double, val uom: UnitOfMeasure) : Attribute

Attribute with a name containing a certain double value with a UnitOfMeasure.

Link copied to clipboard
class StringAttribute(val name: String, val value: String) : Attribute

Attribute with a name containing a certain string value.

Link copied to clipboard

Functions

Link copied to clipboard
fun attributes(namePrefix: String = "", setup: AttributeListBuilder.() -> Unit): AttributeList

Environment for building up an AttributeList with an attribute's namePrefix.