← Back to Stormify Documentation

PlatformEntity

expect abstract class PlatformEntity

The platform part of StormifyEntity. On the JVM and Android it gives Java subclasses details(Class), the counterpart of the Kotlin by lazyDetails() delegate; elsewhere it is empty.

Inheritors

actual abstract class PlatformEntity

Gives Java entities the loading of by lazyDetails(): through the instance that read the entity, and for every row of the result it came with at once.

public class Order extends AutoTable {
private List<OrderItem> items;

public List<OrderItem> getItems() {
if (items == null) items = details(OrderItem.class);
return items;
}
}
actual abstract class PlatformEntity

Empty on native targets, where entities are Kotlin and use by lazyDetails().

Constructors

Link copied to clipboard
expect constructor()
actual constructor()
actual constructor()