org.camunda.bpm.engine.impl.persistence.entity
Class ResourceEntity
java.lang.Object
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
id
protected String id
name
protected String name
bytes
protected byte[] bytes
deploymentId
protected String deploymentId
generated
protected boolean generated
tenantId
protected String tenantId
ResourceEntity
public ResourceEntity()
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 © 2017 camunda services GmbH. All rights reserved.