Class ContractVersion
- java.lang.Object
-
- com.syntifi.casper.sdk.model.contract.ContractVersion
-
public class ContractVersion extends java.lang.Object
Contract version information- Since:
- 0.0.1
-
-
Constructor Summary
Constructors Constructor Description ContractVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getHash()
contract_hash(string) The hash address of the contractint
getProtocolVersionMajor()
protocol_version_major(integer)int
getVersion()
contract_version(integer)int
hashCode()
void
setHash(java.lang.String hash)
contract_hash(string) The hash address of the contractvoid
setProtocolVersionMajor(int protocolVersionMajor)
protocol_version_major(integer)void
setVersion(int version)
contract_version(integer)java.lang.String
toString()
-
-
-
Method Detail
-
getHash
public java.lang.String getHash()
contract_hash(string) The hash address of the contract
-
getVersion
public int getVersion()
contract_version(integer)
-
getProtocolVersionMajor
public int getProtocolVersionMajor()
protocol_version_major(integer)
-
setHash
public void setHash(java.lang.String hash)
contract_hash(string) The hash address of the contract
-
setVersion
public void setVersion(int version)
contract_version(integer)
-
setProtocolVersionMajor
public void setProtocolVersionMajor(int protocolVersionMajor)
protocol_version_major(integer)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-