Class 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 contract
      int 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 contract
      void setProtocolVersionMajor​(int protocolVersionMajor)
      protocol_version_major(integer)
      void setVersion​(int version)
      contract_version(integer)
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ContractVersion

        public ContractVersion()
    • 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 class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object