Interface UtxoLedgerTransaction
-
- All Implemented Interfaces:
@DoNotImplement() public interface UtxoLedgerTransaction
Represents a UTXO ledger transaction.
-
-
Method Summary
Modifier and Type Method Description abstract SecureHash
getId()
Gets the transaction ID associated with the current UtxoLedgerTransaction. abstract MemberX500Name
getNotaryName()
Gets the notary service name associated with the current UtxoLedgerTransaction. abstract PublicKey
getNotaryKey()
Gets the notary service key associated with the current UtxoLedgerTransaction. abstract TransactionMetadata
getMetadata()
Gets the transaction metadata associated with the current UtxoLedgerTransaction. abstract TimeWindow
getTimeWindow()
Gets the time window associated with the current UtxoLedgerTransaction. abstract List<PublicKey>
getSignatories()
Gets the signatories associated with the current UtxoLedgerTransaction. abstract List<Command>
getCommands()
Gets the commands associated with the current UtxoLedgerTransaction. abstract <T extends Command> List<T>
getCommands(@NotNull() Class<T> type)
Obtains all commands that match the specified type. abstract List<StateRef>
getInputStateRefs()
Gets the input state refs associated with the current UtxoLedgerTransaction. abstract List<StateAndRef<out Object>>
getInputStateAndRefs()
Gets the input states and state refs associated with the current UtxoLedgerTransaction. abstract <T extends ContractState> List<StateAndRef<T>>
getInputStateAndRefs(@NotNull() Class<T> type)
Obtains all input states and state refs that match the specified type. List<TransactionState<out Object>>
getInputTransactionStates()
Gets the input transaction states associated with the current UtxoLedgerTransaction. List<ContractState>
getInputContractStates()
Gets the input contract states associated with the current UtxoLedgerTransaction. abstract <T extends ContractState> List<T>
getInputStates(@NotNull() Class<T> type)
Obtains all input contract states that match the specified type. abstract List<StateRef>
getReferenceStateRefs()
Gets the reference input state refs associated with the current UtxoLedgerTransaction. abstract List<StateAndRef<out Object>>
getReferenceStateAndRefs()
Gets the reference input states and state refs associated with the current UtxoLedgerTransaction. abstract <T extends ContractState> List<StateAndRef<T>>
getReferenceStateAndRefs(@NotNull() Class<T> type)
Obtains all reference input states and state refs that match the specified type. List<TransactionState<out Object>>
getReferenceTransactionStates()
Gets the reference input transaction states associated with the current UtxoLedgerTransaction. List<ContractState>
getReferenceContractStates()
Gets the reference input contract states associated with the current UtxoLedgerTransaction. abstract <T extends ContractState> List<T>
getReferenceStates(@NotNull() Class<T> type)
Obtains all reference input contract states that match the specified type. abstract List<StateAndRef<out Object>>
getOutputStateAndRefs()
Gets the output states and state refs associated with the current UtxoLedgerTransaction. abstract <T extends ContractState> List<StateAndRef<T>>
getOutputStateAndRefs(@NotNull() Class<T> type)
Obtains all output states and state refs that match the specified type. List<TransactionState<out Object>>
getOutputTransactionStates()
Gets the output transaction states associated with the current UtxoLedgerTransaction. List<ContractState>
getOutputContractStates()
Gets the output contract states associated with the current UtxoLedgerTransaction. abstract <T extends ContractState> List<T>
getOutputStates(@NotNull() Class<T> type)
Obtains all output contract states that match the specified type. abstract GroupParameters
getGroupParameters()
Gets the group parameters associated with the current UtxoLedgerTransaction. -
-
Method Detail
-
getId
@NotNull() abstract SecureHash getId()
Gets the transaction ID associated with the current UtxoLedgerTransaction.
-
getNotaryName
@NotNull() abstract MemberX500Name getNotaryName()
Gets the notary service name associated with the current UtxoLedgerTransaction.
-
getNotaryKey
@NotNull() abstract PublicKey getNotaryKey()
Gets the notary service key associated with the current UtxoLedgerTransaction.
-
getMetadata
@NotNull() abstract TransactionMetadata getMetadata()
Gets the transaction metadata associated with the current UtxoLedgerTransaction.
-
getTimeWindow
@NotNull() abstract TimeWindow getTimeWindow()
Gets the time window associated with the current UtxoLedgerTransaction.
-
getSignatories
@NotNull() abstract List<PublicKey> getSignatories()
Gets the signatories associated with the current UtxoLedgerTransaction.
-
getCommands
@NotNull() abstract List<Command> getCommands()
Gets the commands associated with the current UtxoLedgerTransaction.
-
getCommands
@NotNull() abstract <T extends Command> List<T> getCommands(@NotNull() Class<T> type)
Obtains all commands that match the specified type.
- Parameters:
type
- The type of the Command.
-
getInputStateRefs
@NotNull() abstract List<StateRef> getInputStateRefs()
Gets the input state refs associated with the current UtxoLedgerTransaction.
-
getInputStateAndRefs
@NotNull() abstract List<StateAndRef<out Object>> getInputStateAndRefs()
Gets the input states and state refs associated with the current UtxoLedgerTransaction.
-
getInputStateAndRefs
@NotNull() abstract <T extends ContractState> List<StateAndRef<T>> getInputStateAndRefs(@NotNull() Class<T> type)
Obtains all input states and state refs that match the specified type.
- Parameters:
type
- The type of the ContractState.
-
getInputTransactionStates
@NotNull() List<TransactionState<out Object>> getInputTransactionStates()
Gets the input transaction states associated with the current UtxoLedgerTransaction.
-
getInputContractStates
@NotNull() List<ContractState> getInputContractStates()
Gets the input contract states associated with the current UtxoLedgerTransaction.
-
getInputStates
@NotNull() abstract <T extends ContractState> List<T> getInputStates(@NotNull() Class<T> type)
Obtains all input contract states that match the specified type.
- Parameters:
type
- The type of the ContractState.
-
getReferenceStateRefs
@NotNull() abstract List<StateRef> getReferenceStateRefs()
Gets the reference input state refs associated with the current UtxoLedgerTransaction.
-
getReferenceStateAndRefs
@NotNull() abstract List<StateAndRef<out Object>> getReferenceStateAndRefs()
Gets the reference input states and state refs associated with the current UtxoLedgerTransaction.
-
getReferenceStateAndRefs
@NotNull() abstract <T extends ContractState> List<StateAndRef<T>> getReferenceStateAndRefs(@NotNull() Class<T> type)
Obtains all reference input states and state refs that match the specified type.
- Parameters:
type
- The type of the ContractState.
-
getReferenceTransactionStates
@NotNull() List<TransactionState<out Object>> getReferenceTransactionStates()
Gets the reference input transaction states associated with the current UtxoLedgerTransaction.
-
getReferenceContractStates
@NotNull() List<ContractState> getReferenceContractStates()
Gets the reference input contract states associated with the current UtxoLedgerTransaction.
-
getReferenceStates
@NotNull() abstract <T extends ContractState> List<T> getReferenceStates(@NotNull() Class<T> type)
Obtains all reference input contract states that match the specified type.
- Parameters:
type
- The type of the ContractState.
-
getOutputStateAndRefs
@NotNull() abstract List<StateAndRef<out Object>> getOutputStateAndRefs()
Gets the output states and state refs associated with the current UtxoLedgerTransaction.
-
getOutputStateAndRefs
@NotNull() abstract <T extends ContractState> List<StateAndRef<T>> getOutputStateAndRefs(@NotNull() Class<T> type)
Obtains all output states and state refs that match the specified type.
- Parameters:
type
- The type of the ContractState.
-
getOutputTransactionStates
@NotNull() List<TransactionState<out Object>> getOutputTransactionStates()
Gets the output transaction states associated with the current UtxoLedgerTransaction.
-
getOutputContractStates
@NotNull() List<ContractState> getOutputContractStates()
Gets the output contract states associated with the current UtxoLedgerTransaction.
-
getOutputStates
@NotNull() abstract <T extends ContractState> List<T> getOutputStates(@NotNull() Class<T> type)
Obtains all output contract states that match the specified type.
- Parameters:
type
- The type of the ContractState.
-
getGroupParameters
@NotNull() abstract GroupParameters getGroupParameters()
Gets the group parameters associated with the current UtxoLedgerTransaction.
-
-
-
-