Package net.corda.v5.ledger.utxo
Interface StateAndRef
-
- All Implemented Interfaces:
@DoNotImplement() public interface StateAndRef<T extends ContractState>
Defines a composition of a TransactionState and a StateRef.
-
-
Method Summary
Modifier and Type Method Description abstract TransactionState<T>
getState()
Gets the TransactionState component of the current StateAndRef. abstract StateRef
getRef()
Gets the StateRef component of the current StateAndRef. -
-
Method Detail
-
getState
@NotNull() abstract TransactionState<T> getState()
Gets the TransactionState component of the current StateAndRef.
- Returns:
Returns the TransactionState component of the current StateAndRef.
-
getRef
@NotNull() abstract StateRef getRef()
Gets the StateRef component of the current StateAndRef.
- Returns:
Returns the StateRef component of the current StateAndRef.
-
-
-
-