org.camunda.bpm.engine.impl.persistence.entity
Class ResourceEntity

java.lang.Object
  extended by org.camunda.bpm.engine.impl.persistence.entity.ResourceEntity
All Implemented Interfaces:
Serializable, DbEntity, Resource

public class ResourceEntity
extends Object
implements Serializable, DbEntity, Resource

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  byte[] bytes
           
protected  String deploymentId
           
protected  boolean generated
           
protected  String id
           
protected  String name
           
protected  String tenantId
           
 
Constructor Summary
ResourceEntity()
           
 
Method Summary
 byte[] getBytes()
           
 String getDeploymentId()
           
 String getId()
           
 String getName()
           
 Object getPersistentState()
          Returns a representation of the object, as would be stored in the database.
 String getTenantId()
           
 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 setDeploymentId(String deploymentId)
           
 void setGenerated(boolean generated)
           
 void setId(String id)
           
 void setName(String name)
           
 void setTenantId(String tenantId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected String id

name

protected String name

bytes

protected byte[] bytes

deploymentId

protected String deploymentId

generated

protected boolean generated

tenantId

protected String tenantId
Constructor Detail

ResourceEntity

public ResourceEntity()
Method Detail

getId

public String getId()
Specified by:
getId in interface DbEntity
Specified by:
getId in interface Resource

setId

public void setId(String id)
Specified by:
setId in interface DbEntity

getName

public String getName()
Specified by:
getName in interface Resource

setName

public void setName(String name)

getBytes

public byte[] getBytes()

setBytes

public void setBytes(byte[] bytes)

getDeploymentId

public String getDeploymentId()
Specified by:
getDeploymentId in interface Resource

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)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2016 camunda services GmbH. All rights reserved.