IndirectStatePersistable
Keywords: net.corda.core.schemas.IndirectStatePersistable interface
Date: 2023-09-18

net.corda.core.schemas

## Interface IndirectStatePersistable<T extends DirectStatePersistable>

- All Superinterfaces:
    StatePersistable

      public IndirectStatePersistable<T extends DirectStatePersistable>
      extends 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 `interface DirectStatePersistable`. i.e. exposes a stateRef.

  See Also:
    `compositeKey`, `interface DirectStatePersistable`, stateRef

- - ### Constructor Detail

    - #### IndirectStatePersistable

          public IndirectStatePersistable()

  - ### Method Detail

    - #### getCompositeKey

          @NotNull
          T getCompositeKey()