corda / net.corda.core.schemas / StatePersistable

StatePersistable

interface StatePersistable

Marker interface to denote a persistable Corda state entity that will always have a transaction id and index

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.

Inheritors

DirectStatePersistable

interface DirectStatePersistable : StatePersistable

Marker interface to denote a persistable Corda state entity that exposes the transaction id and index as composite key called stateRef.

IndirectStatePersistable

interface IndirectStatePersistable<T : DirectStatePersistable> : StatePersistable

Marker interface to denote a persistable Corda state entity that exposes the transaction id and index as a nested composite key called compositeKey that is itself a DirectStatePersistable. i.e. exposes a stateRef.