class Ort : Entity<Ort>
Model |
class Model : ItemViewModel<Ort?> |
<init> |
Ort(id: Long) |
id |
val id: Long |
kapazitaet |
var kapazitaet: Double |
kapazitaetProperty |
val kapazitaetProperty: Property<Double> |
name |
var name: String |
nameProperty |
val nameProperty: Property<String> |
x |
var x: Int |
xProperty |
val xProperty: Property<Int> |
y |
var y: Int |
yProperty |
val yProperty: Property<Int> |
delegateMap |
val delegateMap: MutableMap<KProperty<*>, DatabaseDelegate<*>> |
idProperty |
val idProperty: LongProperty |
distanceTo |
fun distanceTo(other: Ort): Double
Calculates the distance between this and the other |
model |
fun model(property: ObjectProperty<Ort?>): Model
Returns an ItemViewModel containing the given Entity |
toString |
fun toString(): String
Overridden for meaningful representation inside the combobox of the TradeView |
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>
|
mutableReference |
fun <E : Entity<E>> mutableReference(key: KMutableProperty0<E>, property: KMutableProperty0<Long>): MutableReferenceDelegate<E>
|
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>
|
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 |
valueOf |
fun Any?.valueOf(): String |