KotlinTrader / com.doubleu.kotlintrader.model / Ereignis

Ereignis

class Ereignis : Entity<Ereignis>
Deprecated: No use-case for dis

Types

Model class Model : ItemViewModel<Ereignis?>

Constructors

<init> Ereignis(id: Long)

Properties

beschreibung var beschreibung: String
beschreibungProperty val beschreibungProperty: Property<String>
id val id: Long

Inherited Properties

delegateMap val delegateMap: MutableMap<KProperty<*>, DatabaseDelegate<*>>
idProperty val idProperty: LongProperty

Functions

model fun model(property: ObjectProperty<Ereignis?>): Model

Returns an ItemViewModel containing the given Entity

Inherited Functions

default fun <V> default(property: KProperty<V>): V

Retrieves the default value for the given property

delegate fun <V : Any> delegate(property: KProperty<V>, default: V): PropertyDelegate<T, V>

Returns a Delegate to the given property.

mutableReference fun <E : Entity<E>> mutableReference(key: KMutableProperty0<E>, property: KMutableProperty0<Long>): MutableReferenceDelegate<E>

Returns a Delegate to the given property.

property fun <V> property(property: KProperty<V>): Property<V>

Returns the FXProperty associated with the passed Entity-Property

reference fun <E : Entity<E>> reference(key: KProperty<E>, property: KProperty<Long>): ReferenceDelegate<E>

Returns a Delegate to the given property.

reset fun reset(): Unit

Resets this entity back to it's default values

retrieve fun retrieve(lazy: Boolean): Unit

Reloads the Entity from the database

Extension Functions

valueOf fun Any?.valueOf(): String