Package-level declarations

Types

Link copied to clipboard
sealed class AttributeValue

BusinessObjectTypes are instantiated as BusinessObjects. Each BusinessObjectType has Attributes, instantiated as AttributeValues in BusinessObjects.

Link copied to clipboard
data class BusinessObject(val type: BusinessObjectType, val id: Long, val state: State, val properties: Set<Property> = emptySet(), val masters: MutableMap<String, BusinessObject> = mutableMapOf()) : JsonSerializable
Link copied to clipboard
data class Event(val type: EventType, val eventId: Long, val objectId: Long, val properties: Set<Property> = emptySet(), val masterRefs: Map<String, Long> = emptyMap()) : JsonSerializable

Events are instances of EventTypes.

Link copied to clipboard
class EventHandler(val model: Model, val eventStore: EventStore, val objectStore: BusinessObjectStore)
Link copied to clipboard
Link copied to clipboard
open class InstanceError(msg: String? = null) : MerodeError
Link copied to clipboard
Link copied to clipboard
data class Property(val attribute: Attribute, val value: AttributeValue)

Represents the value of an Attribute in a BusinessObject.

Link copied to clipboard
class PropertyNotFoundError(attributeName: String, businessObjectTypeName: String) : InstanceError
Link copied to clipboard
class PropertyTypeError(propertyName: String, expectedType: String, actualType: String) : InstanceError
Link copied to clipboard
class ValueTypeError(msg: String? = null) : InstanceError