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

# Package net.corda.core.schemas

- Interface Summary
  Interface | Description
  --- | ---
  DirectStatePersistable | Marker interface to denote a persistable Corda state entity that exposes the transaction id and index as composite key called `stateRef`.
  IndirectStatePersistable<T extends DirectStatePersistable> | 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.
  QueryableState | A contract state that may be mapped to database schemas configured for this node to support querying for, or filtering of, states.
  StatePersistable | Marker interface to denote a persistable Corda state entity that will always have a transaction id and index

- Class Summary
  Class | Description
  --- | ---
  CommonSchema | JPA representation of the common schema entities
  CommonSchemaV1 | First version of the Vault ORM schema
  MappedSchema | A database schema that might be configured for this node. As well as a name and version for identifying the schema, also list the classes that may be used in the generated object graph in order to configure the ORM tool.
  MappedSchemaValidator |
  PersistentState | A super class for all mapped states exported to a schema that ensures the `class StateRef` appears on the database row. The `class StateRef` will be set to the correct value by the framework (there's no need to set during mapping generation by the state itself).
  PersistentStateRef | Embedded `class StateRef` representation used in state mapping.