Class ResourceEntity

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected byte[] bytes  
      protected java.util.Date createTime  
      protected java.lang.String deploymentId  
      protected boolean generated  
      protected java.lang.String id  
      protected java.lang.String name  
      protected java.lang.String tenantId  
      protected java.lang.Integer type  
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceEntity()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getBytes()  
      java.util.Date getCreateTime()  
      java.lang.String getDeploymentId()  
      java.lang.String getId()  
      java.lang.String getName()  
      java.lang.Object getPersistentState()
      Returns a representation of the object, as would be stored in the database.
      java.lang.String getTenantId()  
      java.lang.Integer getType()  
      boolean isGenerated()
      Indicated whether or not the resource has been generated while deploying rather than being actual part of the deployment.
      void setBytes​(byte[] bytes)  
      void setCreateTime​(java.util.Date createTime)  
      void setDeploymentId​(java.lang.String deploymentId)  
      void setGenerated​(boolean generated)  
      void setId​(java.lang.String id)  
      void setName​(java.lang.String name)  
      void setTenantId​(java.lang.String tenantId)  
      void setType​(java.lang.Integer type)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • id

        protected java.lang.String id
      • name

        protected java.lang.String name
      • bytes

        protected byte[] bytes
      • deploymentId

        protected java.lang.String deploymentId
      • generated

        protected boolean generated
      • tenantId

        protected java.lang.String tenantId
      • type

        protected java.lang.Integer type
      • createTime

        protected java.util.Date createTime
    • Constructor Detail

      • ResourceEntity

        public ResourceEntity()
    • Method Detail

      • setId

        public void setId​(java.lang.String id)
        Specified by:
        setId in interface DbEntity
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Resource
      • setName

        public void setName​(java.lang.String name)
      • getBytes

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

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

        public java.lang.String getDeploymentId()
        Specified by:
        getDeploymentId in interface Resource
      • setDeploymentId

        public void setDeploymentId​(java.lang.String deploymentId)
      • getPersistentState

        public java.lang.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 java.lang.String getTenantId()
      • setTenantId

        public void setTenantId​(java.lang.String tenantId)
      • getType

        public java.lang.Integer getType()
      • setType

        public void setType​(java.lang.Integer type)
      • getCreateTime

        public java.util.Date getCreateTime()
      • setCreateTime

        public void setCreateTime​(java.util.Date createTime)
      • toString

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