Class ResourceEntity

    • Field Detail

      • bytes

        protected byte[] bytes
      • deploymentId

        protected String deploymentId
      • generated

        protected boolean generated
      • tenantId

        protected String tenantId
      • createTime

        protected Date createTime
    • Constructor Detail

      • ResourceEntity

        public ResourceEntity()
    • Method Detail

      • setName

        public void setName​(String name)
      • getBytes

        public byte[] getBytes()
        Specified by:
        getBytes in interface Resource
      • setBytes

        public void setBytes​(byte[] bytes)
      • setDeploymentId

        public void setDeploymentId​(String deploymentId)
      • getPersistentState

        public Object getPersistentState()
        Description copied from interface: DbEntity
        Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.
        Specified by:
        getPersistentState in interface DbEntity
      • setGenerated

        public void setGenerated​(boolean generated)
      • isGenerated

        public boolean isGenerated()
        Indicated whether or not the resource has been generated while deploying rather than being actual part of the deployment.
      • getTenantId

        public String getTenantId()
      • setTenantId

        public void setTenantId​(String tenantId)
      • getType

        public Integer getType()
      • setType

        public void setType​(Integer type)
      • getCreateTime

        public Date getCreateTime()
      • setCreateTime

        public void setCreateTime​(Date createTime)