public static class Info.ContractAndWorkflow implements Cordapp.Info
A CorDapp that includes both contract and workflow classes, and defined in terms of class Info.Contract
and class Info.Workflow
.
class Info.Contract
,
class Info.Workflow
Info.Contract, Info.ContractAndWorkflow, Info.Default, Info.Workflow
Constructor and Description |
---|
ContractAndWorkflow(Info.Contract contract,
Info.Workflow workflow)
A CorDapp that includes both contract and workflow classes, and defined in terms of
class Info.Contract and class Info.Workflow . |
Modifier and Type | Method and Description |
---|---|
Info.Contract |
component1() |
Info.Workflow |
component2() |
Info.ContractAndWorkflow |
copy(Info.Contract contract,
Info.Workflow workflow)
A CorDapp that includes both contract and workflow classes, and defined in terms of
class Info.Contract and class Info.Workflow . |
boolean |
equals(java.lang.Object p) |
Info.Contract |
getContract() |
java.lang.String |
getLicence() |
java.lang.String |
getShortName()
Cordapp's name
|
java.lang.String |
getVendor()
Cordapp's vendor
|
java.lang.String |
getVersion()
Cordapp's version
|
Info.Workflow |
getWorkflow() |
boolean |
hasUnknownFields() |
int |
hashCode() |
java.lang.String |
toString() |
getLicence, getShortName, getVendor, getVersion, hasUnknownFields
public ContractAndWorkflow(Info.Contract contract, Info.Workflow workflow)
A CorDapp that includes both contract and workflow classes, and defined in terms of class Info.Contract
and class Info.Workflow
.
class Info.Contract
,
class Info.Workflow
public java.lang.String getShortName()
Cordapp's name
public java.lang.String getVendor()
Cordapp's vendor
public java.lang.String getLicence()
public java.lang.String getVersion()
Cordapp's version
public java.lang.String toString()
public boolean hasUnknownFields()
public Info.Contract getContract()
public Info.Workflow getWorkflow()
public Info.Contract component1()
public Info.Workflow component2()
public Info.ContractAndWorkflow copy(Info.Contract contract, Info.Workflow workflow)
A CorDapp that includes both contract and workflow classes, and defined in terms of class Info.Contract
and class Info.Workflow
.
class Info.Contract
,
class Info.Workflow
public int hashCode()
public boolean equals(java.lang.Object p)