org.activiti.engine.impl.persistence.entity
类 ResourceEntity

java.lang.Object
  继承者 org.activiti.engine.impl.persistence.entity.ResourceEntity
所有已实现的接口:
Serializable, PersistentObject

public class ResourceEntity
extends Object
implements Serializable, PersistentObject

作者:
Tom Baeyens
另请参见:
序列化表格

字段摘要
protected  byte[] bytes
           
protected  String deploymentId
           
protected  boolean generated
           
protected  String id
           
protected  String name
           
 
构造方法摘要
ResourceEntity()
           
 
方法摘要
 byte[] getBytes()
           
 String getDeploymentId()
           
 String getId()
           
 String getName()
           
 Object getPersistentState()
          Returns a representation of the object, as would be stored in the database.
 boolean isGenerated()
          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 setId(String id)
           
 void setName(String name)
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

id

protected String id

name

protected String name

bytes

protected byte[] bytes

deploymentId

protected String deploymentId

generated

protected boolean generated
构造方法详细信息

ResourceEntity

public ResourceEntity()
方法详细信息

getId

public String getId()
指定者:
接口 PersistentObject 中的 getId

setId

public void setId(String id)
指定者:
接口 PersistentObject 中的 setId

getName

public String getName()

setName

public void setName(String name)

getBytes

public byte[] getBytes()

setBytes

public void setBytes(byte[] bytes)

getDeploymentId

public String getDeploymentId()

setDeploymentId

public void setDeploymentId(String deploymentId)

getPersistentState

public Object getPersistentState()
从接口 PersistentObject 复制的描述
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.

指定者:
接口 PersistentObject 中的 getPersistentState

setGenerated

public void setGenerated(boolean generated)

isGenerated

public boolean isGenerated()
Indicated whether or not the resource has been generated while deploying rather than being actual part of the deployment.


toString

public String toString()
覆盖:
Object 中的 toString


Copyright © 2013 Alfresco. All rights reserved.