public class StateConsumptionDetails
Contains information about the consuming transaction for a particular state.
Constructor and Description |
---|
StateConsumptionDetails(SecureHash hashOfTransactionId,
StateConsumptionDetails.ConsumedStateType type)
Contains information about the consuming transaction for a particular state.
|
StateConsumptionDetails(SecureHash hashOfTransactionId) |
Modifier and Type | Method and Description |
---|---|
SecureHash |
component1()
Hash of the consuming transaction id.
|
StateConsumptionDetails.ConsumedStateType |
component2()
The type of consumed state
|
StateConsumptionDetails |
copy(SecureHash hashOfTransactionId) |
StateConsumptionDetails |
copy(SecureHash hashOfTransactionId,
StateConsumptionDetails.ConsumedStateType type)
Contains information about the consuming transaction for a particular state.
|
boolean |
equals(java.lang.Object p) |
SecureHash |
getHashOfTransactionId()
Hash of the consuming transaction id.
|
StateConsumptionDetails.ConsumedStateType |
getType()
The type of consumed state
|
int |
hashCode() |
java.lang.String |
toString() |
public StateConsumptionDetails(SecureHash hashOfTransactionId, StateConsumptionDetails.ConsumedStateType type)
Contains information about the consuming transaction for a particular state.
hashOfTransactionId
- Hash of the consuming transaction id.
Note that this is NOT the transaction id itself – revealing it could lead to privacy leaks.
type
- The type of consumed state: either a reference input state or a regular input state.public StateConsumptionDetails(SecureHash hashOfTransactionId)
public StateConsumptionDetails copy(SecureHash hashOfTransactionId)
public SecureHash getHashOfTransactionId()
Hash of the consuming transaction id.
Note that this is NOT the transaction id itself – revealing it could lead to privacy leaks.
public StateConsumptionDetails.ConsumedStateType getType()
The type of consumed state
: either a reference input state or a regular input state.
public SecureHash component1()
Hash of the consuming transaction id.
Note that this is NOT the transaction id itself – revealing it could lead to privacy leaks.
public StateConsumptionDetails.ConsumedStateType component2()
The type of consumed state
: either a reference input state or a regular input state.
public StateConsumptionDetails copy(SecureHash hashOfTransactionId, StateConsumptionDetails.ConsumedStateType type)
Contains information about the consuming transaction for a particular state.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)