interface QueryableState : ContractState
A contract state that may be mapped to database schemas configured for this node to support querying for, or filtering of, states.
abstract val contract: Contract
An instance of the contract class that will verify this state. |
|
abstract val participants: List<AbstractParty>
A participant is any party that is able to consume this state in a valid transaction. |
abstract fun generateMappedObject(schema: MappedSchema): PersistentState
Export a representation for the given schema. |
|
abstract fun supportedSchemas(): Iterable<MappedSchema>
Enumerate the schemas this state can export representations of itself as. |
fun <T> Any.declaredField(name: String): DeclaredField<T>
Returns a DeclaredField wrapper around the declared (possibly non-public) instance field of the receiver object. fun <T> Any.declaredField(clazz: KClass<*>, name: String): DeclaredField<T>
Returns a DeclaredField wrapper around the (possibly non-public) instance field of the receiver object, but declared in its superclass clazz. |
|
fun ContractState.hash(): SecureHash
Returns the SHA-256 hash of the serialised contents of this state (not cached!) |
data class State : OwnableState, QueryableState |
|
data class State : FungibleAsset<Currency>, QueryableState
A state representing a cash claim against some party. |