Class ResourceEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
org.flowable.engine.impl.persistence.entity.AbstractBpmnEngineNoRevisionEntity
org.flowable.engine.impl.persistence.entity.ResourceEntityImpl
- All Implemented Interfaces:
Serializable,EngineResource,Entity,ResourceEntity
public class ResourceEntityImpl
extends AbstractBpmnEngineNoRevisionEntity
implements ResourceEntity, Serializable
- Author:
- Tom Baeyens, Joram Barrez
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected byte[]protected Stringprotected booleanprotected StringFields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated, originalPersistentState -
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.flowable.engine.impl.persistence.entity.AbstractBpmnEngineNoRevisionEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
Field Details
-
name
-
bytes
protected byte[] bytes -
deploymentId
-
generated
protected boolean generated
-
-
Constructor Details
-
ResourceEntityImpl
public ResourceEntityImpl()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceEngineResource
-
setName
- Specified by:
setNamein interfaceEngineResource
-
getBytes
public byte[] getBytes()- Specified by:
getBytesin interfaceEngineResource
-
setBytes
public void setBytes(byte[] bytes) - Specified by:
setBytesin interfaceEngineResource
-
getDeploymentId
- Specified by:
getDeploymentIdin interfaceEngineResource
-
setDeploymentId
- Specified by:
setDeploymentIdin interfaceEngineResource
-
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 interfaceEngineResource
-
toString
-