Class ByteArrayEntityImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEntity
-
- org.flowable.common.engine.impl.persistence.entity.ByteArrayEntityImpl
-
- All Implemented Interfaces:
Serializable,HasRevision,ByteArrayEntity,Entity
public class ByteArrayEntityImpl extends AbstractEntity implements ByteArrayEntity, Serializable
- Author:
- Tom Baeyens, Marcus Klimstra (CGI), Joram Barrez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]bytesprotected StringdeploymentIdprotected Stringname-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
-
Constructor Summary
Constructors Constructor Description ByteArrayEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBytes()StringgetDeploymentId()StringgetIdPrefix()StringgetName()ObjectgetPersistentState()Returns a representation of the object, as would be stored in the database.voidsetBytes(byte[] bytes)voidsetDeploymentId(String deploymentId)voidsetName(String name)StringtoString()-
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, 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, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
-
-
-
Method Detail
-
getIdPrefix
public String getIdPrefix()
- Specified by:
getIdPrefixin interfaceEntity
-
getBytes
public byte[] getBytes()
- Specified by:
getBytesin interfaceByteArrayEntity
-
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
-
getName
public String getName()
- Specified by:
getNamein interfaceByteArrayEntity
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceByteArrayEntity
-
getDeploymentId
public String getDeploymentId()
- Specified by:
getDeploymentIdin interfaceByteArrayEntity
-
setDeploymentId
public void setDeploymentId(String deploymentId)
- Specified by:
setDeploymentIdin interfaceByteArrayEntity
-
setBytes
public void setBytes(byte[] bytes)
- Specified by:
setBytesin interfaceByteArrayEntity
-
-