Class ContractPackage


  • public class ContractPackage
    extends java.lang.Object
    Contract definition, metadata, and security container
    Since:
    0.0.1
    • Constructor Detail

      • ContractPackage

        public ContractPackage()
    • Method Detail

      • getAccessKey

        public java.lang.String getAccessKey()
        access_key(string)
      • getDisabledVersions

        public java.util.List<DisabledVersion> getDisabledVersions()
        disabled_versions(Array/DisabledVersion)
      • getGroups

        public java.util.List<Groups> getGroups()
        groups(Array/Group)
      • getVersions

        public java.util.List<ContractVersion> getVersions()
        versions(Array/ContractVersion)
      • setAccessKey

        public void setAccessKey​(java.lang.String accessKey)
        access_key(string)
      • setDisabledVersions

        public void setDisabledVersions​(java.util.List<DisabledVersion> disabledVersions)
        disabled_versions(Array/DisabledVersion)
      • setGroups

        public void setGroups​(java.util.List<Groups> groups)
        groups(Array/Group)
      • setVersions

        public void setVersions​(java.util.List<ContractVersion> versions)
        versions(Array/ContractVersion)
      • 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