Class ResourceEntityImpl
- java.lang.Object
-
- org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
-
- org.activiti.engine.impl.persistence.entity.ResourceEntityImpl
-
- All Implemented Interfaces:
java.io.Serializable,Entity,ResourceEntity
public class ResourceEntityImpl extends AbstractEntityNoRevision implements ResourceEntity, java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]bytesprotected java.lang.StringdeploymentIdprotected booleangeneratedprotected java.lang.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()java.lang.StringgetDeploymentId()java.lang.StringgetName()java.lang.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(java.lang.String deploymentId)voidsetGenerated(boolean generated)voidsetName(java.lang.String name)java.lang.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 java.lang.String getName()
- Specified by:
getNamein interfaceResourceEntity
-
setName
public void setName(java.lang.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 java.lang.String getDeploymentId()
- Specified by:
getDeploymentIdin interfaceResourceEntity
-
setDeploymentId
public void setDeploymentId(java.lang.String deploymentId)
- Specified by:
setDeploymentIdin interfaceResourceEntity
-
getPersistentState
public java.lang.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
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-