Package net.corda.v5.ledger.utxo
Interface TransactionState
-
- All Implemented Interfaces:
@DoNotImplement() public interface TransactionState<T extends ContractState>
Defines a transaction state, composed of a ContractState and associated transaction state information.
-
-
Method Summary
Modifier and Type Method Description abstract T
getContractState()
Gets the ContractState of the current TransactionState instance. abstract Class<T>
getContractStateType()
Gets the ContractState type of the current TransactionState instance. abstract Class<out Contract>
getContractType()
Gets the Contract type of the current TransactionState instance. abstract MemberX500Name
getNotaryName()
Gets the notary service name of the current TransactionState instance. abstract PublicKey
getNotaryKey()
Gets the notary service key of the current TransactionState instance. abstract EncumbranceGroup
getEncumbranceGroup()
Gets the encumbrance of the current TransactionState instance. -
-
Method Detail
-
getContractState
@NotNull() abstract T getContractState()
Gets the ContractState of the current TransactionState instance.
-
getContractStateType
@NotNull() abstract Class<T> getContractStateType()
Gets the ContractState type of the current TransactionState instance.
-
getContractType
@NotNull() abstract Class<out Contract> getContractType()
Gets the Contract type of the current TransactionState instance.
-
getNotaryName
@NotNull() abstract MemberX500Name getNotaryName()
Gets the notary service name of the current TransactionState instance.
-
getNotaryKey
@NotNull() abstract PublicKey getNotaryKey()
Gets the notary service key of the current TransactionState instance.
-
getEncumbranceGroup
@Nullable() abstract EncumbranceGroup getEncumbranceGroup()
Gets the encumbrance of the current TransactionState instance.
-
-
-
-