public class UpgradeCommand implements CommandData
Indicates that this transaction replaces the inputs contract state to another contract state
Constructor and Description |
---|
UpgradeCommand(java.lang.Class<? extends net.corda.core.contracts.UpgradedContract<?,?>> upgradedContractClass)
Indicates that this transaction replaces the inputs contract state to another contract state
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends net.corda.core.contracts.UpgradedContract<?,?>> |
component1() |
UpgradeCommand |
copy(java.lang.Class<? extends net.corda.core.contracts.UpgradedContract<?,?>> upgradedContractClass)
Indicates that this transaction replaces the inputs contract state to another contract state
|
boolean |
equals(java.lang.Object p) |
java.lang.Class<? extends net.corda.core.contracts.UpgradedContract<?,?>> |
getUpgradedContractClass() |
int |
hashCode() |
java.lang.String |
toString() |
public UpgradeCommand(java.lang.Class<? extends net.corda.core.contracts.UpgradedContract<?,?>> upgradedContractClass)
Indicates that this transaction replaces the inputs contract state to another contract state
public java.lang.Class<? extends net.corda.core.contracts.UpgradedContract<?,?>> getUpgradedContractClass()
public java.lang.Class<? extends net.corda.core.contracts.UpgradedContract<?,?>> component1()
public UpgradeCommand copy(java.lang.Class<? extends net.corda.core.contracts.UpgradedContract<?,?>> upgradedContractClass)
Indicates that this transaction replaces the inputs contract state to another contract state
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)