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 String
protected boolean
protected String
Fields 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.boolean
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
toString()
Methods inherited from class org.flowable.engine.impl.persistence.entity.AbstractBpmnEngineNoRevisionEntity
getIdPrefix
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
getName
in interfaceEngineResource
-
setName
- Specified by:
setName
in interfaceEngineResource
-
getBytes
public byte[] getBytes()- Specified by:
getBytes
in interfaceEngineResource
-
setBytes
public void setBytes(byte[] bytes) - Specified by:
setBytes
in interfaceEngineResource
-
getDeploymentId
- Specified by:
getDeploymentId
in interfaceEngineResource
-
setDeploymentId
- Specified by:
setDeploymentId
in interfaceEngineResource
-
getPersistentState
Description copied from interface:Entity
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 interfaceEntity
- Specified by:
getPersistentState
in interfaceResourceEntity
-
setGenerated
public void setGenerated(boolean generated) - Specified by:
setGenerated
in 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:
isGenerated
in interfaceEngineResource
-
toString
-