StatePersistable - corda

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

### Inheritors

#### DirectStatePersistable | Marker interface to denote a persistable Corda state entity that exposes the transaction id and index as composite key called stateRef. `interface DirectStatePersistable : StatePersistable`
#### IndirectStatePersistable | 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. `interface IndirectStatePersistable<T : DirectStatePersistable> : StatePersistable`