State
data class State(val issuance: PartyAndReference, val owner: AbstractParty, val faceValue: Amount<Issued<Currency>>, val maturityDate: Instant) : OwnableState, QueryableState
Constructors
Link copied to clipboard
constructor(issuance: PartyAndReference, owner: AbstractParty, faceValue: Amount<Issued<Currency>>, maturityDate: Instant)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
There must be a MoveCommand signed by this key to claim the amount.
Link copied to clipboard
A participant is any party that should be notified when the state is created or consumed.
Link copied to clipboard
Obtain the typename of the required ContractClass associated with the target ContractState, using the BelongsToContract annotation by default, but falling through to checking the state's enclosing class if there is one and it inherits from Contract.
Functions
Link copied to clipboard
Object Relational Mapping support.
Link copied to clipboard
Returns the SHA-256 hash of the serialised contents of this state (not cached!)
Returns the hash of the serialised contents of this state (not cached!)
Link copied to clipboard
Object Relational Mapping support.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Copies the underlying data structure, replacing the owner field with this new value and leaving the rest alone.
Link copied to clipboard
Link copied to clipboard