corda / net.corda.core.schemas / StatePersistable

StatePersistable

interface StatePersistable : Serializable

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

PersistentState

class PersistentState : StatePersistable

A super class for all mapped states exported to a schema that ensures the StateRef appears on the database row. The StateRef will be set to the correct value by the framework (there's no need to set during mapping generation by the state itself).