corda / net.corda.core.schemas / IndirectStatePersistable

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.

Properties

compositeKey

abstract val compositeKey: T

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

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