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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected byte[]protected Stringprotected booleanprotected StringFields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytes()getName()Returns a representation of the object, as would be stored in the database.booleanIndicated 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) voidtoString()Methods inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
Field Details
-
name
-
bytes
protected byte[] bytes -
deploymentId
-
generated
protected boolean generated
-
-
Constructor Details
-
ResourceEntityImpl
public ResourceEntityImpl()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceResourceEntity
-
setName
- Specified by:
setNamein interfaceResourceEntity
-
getBytes
public byte[] getBytes()- Specified by:
getBytesin interfaceResourceEntity
-
setBytes
public void setBytes(byte[] bytes) - Specified by:
setBytesin interfaceResourceEntity
-
getDeploymentId
- Specified by:
getDeploymentIdin interfaceResourceEntity
-
setDeploymentId
- Specified by:
setDeploymentIdin interfaceResourceEntity
-
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
-
toString
-