Class ResourceEntityImpl
- java.lang.Object
-
- org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
-
- org.activiti.engine.impl.persistence.entity.ResourceEntityImpl
-
- All Implemented Interfaces:
Serializable,Entity,ResourceEntity
public class ResourceEntityImpl extends AbstractEntityNoRevision implements ResourceEntity, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]bytesprotected StringdeploymentIdprotected booleangeneratedprotected Stringname-
Fields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated
-
-
Constructor Summary
Constructors Constructor Description ResourceEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBytes()StringgetDeploymentId()StringgetName()ObjectgetPersistentState()Returns a representation of the object, as would be stored in the database.booleanisGenerated()Indicated whether or not the resource has been generated while deploying rather than being actual part of the deployment.voidsetBytes(byte[] bytes)voidsetDeploymentId(String deploymentId)voidsetGenerated(boolean generated)voidsetName(String name)StringtoString()-
Methods inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceResourceEntity
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceResourceEntity
-
getBytes
public byte[] getBytes()
- Specified by:
getBytesin interfaceResourceEntity
-
setBytes
public void setBytes(byte[] bytes)
- Specified by:
setBytesin interfaceResourceEntity
-
getDeploymentId
public String getDeploymentId()
- Specified by:
getDeploymentIdin interfaceResourceEntity
-
setDeploymentId
public void setDeploymentId(String deploymentId)
- Specified by:
setDeploymentIdin interfaceResourceEntity
-
getPersistentState
public Object getPersistentState()
Description copied from interface:EntityReturns 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:
getPersistentStatein interfaceEntity- Specified by:
getPersistentStatein interfaceResourceEntity
-
setGenerated
public void setGenerated(boolean generated)
- Specified by:
setGeneratedin interfaceResourceEntity
-
isGenerated
public boolean isGenerated()
Indicated whether or not the resource has been generated while deploying rather than being actual part of the deployment.- Specified by:
isGeneratedin interfaceResourceEntity
-
-