public static class Commands.Move implements MoveCommand
A command stating that money has been moved, optionally to fulfil another contract.
Constructor and Description |
---|
Move(java.lang.Class<? extends net.corda.core.contracts.Contract> contract)
A command stating that money has been moved, optionally to fulfil another contract.
|
Move()
A command stating that money has been moved, optionally to fulfil another contract.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends net.corda.core.contracts.Contract> |
component1()
the contract this move is for the attention of.
|
Commands.Move |
copy(java.lang.Class<? extends net.corda.core.contracts.Contract> contract)
A command stating that money has been moved, optionally to fulfil another contract.
|
boolean |
equals(java.lang.Object p) |
java.lang.Class<? extends net.corda.core.contracts.Contract> |
getContract()
the contract this move is for the attention of.
|
int |
hashCode() |
java.lang.String |
toString() |
getContract
public Move(java.lang.Class<? extends net.corda.core.contracts.Contract> contract)
A command stating that money has been moved, optionally to fulfil another contract.
contract
- the contract this move is for the attention of. Only that contract's verify functionshould take the moved states into account when considering whether it is valid. Typically this will benull.contract
- the contract this move is for the attention of. Only that contract's verify function
should take the moved states into account when considering whether it is valid. Typically this will be
null.public Move()
A command stating that money has been moved, optionally to fulfil another contract.
public java.lang.Class<? extends net.corda.core.contracts.Contract> getContract()
the contract this move is for the attention of.
Only that contract's verify functionshould take the moved states into account when considering whether it is valid. Typically this will benull.
public java.lang.Class<? extends net.corda.core.contracts.Contract> component1()
the contract this move is for the attention of.
Only that contract's verify functionshould take the moved states into account when considering whether it is valid. Typically this will benull.
public Commands.Move copy(java.lang.Class<? extends net.corda.core.contracts.Contract> contract)
A command stating that money has been moved, optionally to fulfil another contract.
contract
- the contract this move is for the attention of. Only that contract's verify function
should take the moved states into account when considering whether it is valid. Typically this will be
null.public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)