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

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

public class DeploymentEntity
extends Object
implements Serializable, Deployment, PersistentObject

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

字段摘要
protected  String category
           
protected  Map<Class<?>,List<Object>> deployedArtifacts
          Will only be used during actual deployment to pass deployed artifacts (eg process definitions).
protected  Date deploymentTime
           
protected  String id
           
protected  boolean isNew
           
protected  String name
           
protected  Map<String,ResourceEntity> resources
           
 
构造方法摘要
DeploymentEntity()
           
 
方法摘要
 void addDeployedArtifact(Object deployedArtifact)
           
 void addResource(ResourceEntity resource)
           
 String getCategory()
           
<T> List<T>
getDeployedArtifacts(Class<T> clazz)
           
 Date getDeploymentTime()
           
 String getId()
           
 String getName()
           
 Object getPersistentState()
          Returns a representation of the object, as would be stored in the database.
 ResourceEntity getResource(String resourceName)
           
 Map<String,ResourceEntity> getResources()
           
 boolean isNew()
           
 void setCategory(String category)
           
 void setDeploymentTime(Date deploymentTime)
           
 void setId(String id)
           
 void setName(String name)
           
 void setNew(boolean isNew)
           
 void setResources(Map<String,ResourceEntity> resources)
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

id

protected String id

name

protected String name

category

protected String category

resources

protected Map<String,ResourceEntity> resources

deploymentTime

protected Date deploymentTime

isNew

protected boolean isNew

deployedArtifacts

protected Map<Class<?>,List<Object>> deployedArtifacts
Will only be used during actual deployment to pass deployed artifacts (eg process definitions). Will be null otherwise.

构造方法详细信息

DeploymentEntity

public DeploymentEntity()
方法详细信息

getResource

public ResourceEntity getResource(String resourceName)

addResource

public void addResource(ResourceEntity resource)

getResources

public Map<String,ResourceEntity> getResources()

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

addDeployedArtifact

public void addDeployedArtifact(Object deployedArtifact)

getDeployedArtifacts

public <T> List<T> getDeployedArtifacts(Class<T> clazz)

getId

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

setId

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

getName

public String getName()
指定者:
接口 Deployment 中的 getName

setName

public void setName(String name)

getCategory

public String getCategory()
指定者:
接口 Deployment 中的 getCategory

setCategory

public void setCategory(String category)

setResources

public void setResources(Map<String,ResourceEntity> resources)

getDeploymentTime

public Date getDeploymentTime()
指定者:
接口 Deployment 中的 getDeploymentTime

setDeploymentTime

public void setDeploymentTime(Date deploymentTime)

isNew

public boolean isNew()

setNew

public void setNew(boolean isNew)

toString

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


Copyright © 2013 Alfresco. All rights reserved.