public static class Info.Contract
A contract CorDapp contains contract definitions (state, commands) and verification logic
public Contract(@NotNull java.lang.String shortName, @NotNull java.lang.String vendor, int versionId, @NotNull java.lang.String licence)
A contract CorDapp contains contract definitions (state, commands) and verification logic
shortName
- Cordapp's namevendor
- Cordapp's vendorversionId
- integer version of the CorDapp. version
is the toString of this.@NotNull public java.lang.String getVersion()
Cordapp's version
@NotNull public java.lang.String toString()
public boolean hasUnknownFields()
@NotNull public java.lang.String getShortName()
Cordapp
's name
@NotNull public java.lang.String getVendor()
Cordapp
's vendor
public int getVersionId()
integer version of the CorDapp.
version
is the toString of this.
version
@NotNull public java.lang.String getLicence()
@NotNull public java.lang.String component1()
Cordapp
's name
@NotNull public java.lang.String component2()
Cordapp
's vendor
public int component3()
integer version of the CorDapp.
version
is the toString of this.
version
@NotNull public java.lang.String component4()
@NotNull public net.corda.core.cordapp.Cordapp.Info.Contract copy(@NotNull java.lang.String shortName, @NotNull java.lang.String vendor, int versionId, @NotNull java.lang.String licence)
A contract CorDapp contains contract definitions (state, commands) and verification logic
public int hashCode()
A contract CorDapp contains contract definitions (state, commands) and verification logic
public boolean equals(@Nullable java.lang.Object p)
A contract CorDapp contains contract definitions (state, commands) and verification logic