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

net.corda.core.schemas

## Interface DirectStatePersistable

- All Superinterfaces:
    StatePersistable
  All Known Implementing Classes:
    CommonSchemaV1.FungibleState, CommonSchemaV1.LinearState, SampleCashSchemaV1.PersistentCashState, CashSchemaV1.PersistentCashState, SampleCashSchemaV3.PersistentCashState, CommercialPaperSchemaV1.PersistentCommercialPaperState, PersistentState

      public DirectStatePersistable
      extends StatePersistable

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

  See Also:
    `stateRef`

- - ### Constructor Detail

    - #### DirectStatePersistable

          public DirectStatePersistable()

  - ### Method Detail

    - #### getStateRef

          @Nullable
          PersistentStateRef getStateRef()