Class ContractPackage


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

      • ContractPackage

        public ContractPackage​(java.lang.String accessKey,
                               java.util.List<DisabledVersion> disabledVersions,
                               java.util.List<Groups> groups,
                               java.util.List<ContractVersion> versions)
      • 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)