public class DmnDeploymentEntityImpl extends Object implements DmnDeploymentEntity, Serializable
| Modifier and Type | Field and Description |
|---|---|
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 String |
parentDeploymentId |
protected Map<String,ResourceEntity> |
resources |
protected String |
tenantId |
| Constructor and Description |
|---|
DmnDeploymentEntityImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDeployedArtifact(Object deployedArtifact) |
void |
addResource(ResourceEntity resource) |
String |
getCategory() |
<T> List<T> |
getDeployedArtifacts(Class<T> clazz) |
Date |
getDeploymentTime() |
String |
getId() |
String |
getName() |
String |
getParentDeploymentId() |
Object |
getPersistentState()
Returns a representation of the object, as would be stored in the database.
|
Map<String,ResourceEntity> |
getResources() |
String |
getTenantId() |
boolean |
isNew() |
void |
setCategory(String category) |
void |
setDeploymentTime(Date deploymentTime) |
void |
setId(String id) |
void |
setName(String name) |
void |
setNew(boolean isNew) |
void |
setParentDeploymentId(String parentDeploymentId) |
void |
setResources(Map<String,ResourceEntity> resources) |
void |
setTenantId(String tenantId) |
String |
toString() |
protected String id
protected String name
protected String category
protected String tenantId
protected String parentDeploymentId
protected Map<String,ResourceEntity> resources
protected Date deploymentTime
protected boolean isNew
public void addResource(ResourceEntity resource)
addResource in interface DmnDeploymentEntitypublic Map<String,ResourceEntity> getResources()
getResources in interface DmnDeploymentEntitypublic Object getPersistentState()
EntitygetPersistentState in interface Entitypublic void addDeployedArtifact(Object deployedArtifact)
addDeployedArtifact in interface DmnDeploymentEntitypublic <T> List<T> getDeployedArtifacts(Class<T> clazz)
getDeployedArtifacts in interface DmnDeploymentEntitypublic String getId()
getId in interface DmnDeploymentgetId in interface Entitypublic String getName()
getName in interface DmnDeploymentpublic void setName(String name)
setName in interface DmnDeploymentEntitypublic String getCategory()
getCategory in interface DmnDeploymentpublic void setCategory(String category)
setCategory in interface DmnDeploymentEntitypublic String getTenantId()
getTenantId in interface DmnDeploymentpublic void setTenantId(String tenantId)
setTenantId in interface DmnDeploymentEntitypublic String getParentDeploymentId()
getParentDeploymentId in interface DmnDeploymentpublic void setParentDeploymentId(String parentDeploymentId)
setParentDeploymentId in interface DmnDeploymentEntitypublic void setResources(Map<String,ResourceEntity> resources)
setResources in interface DmnDeploymentEntitypublic Date getDeploymentTime()
getDeploymentTime in interface DmnDeploymentpublic void setDeploymentTime(Date deploymentTime)
setDeploymentTime in interface DmnDeploymentEntitypublic boolean isNew()
isNew in interface DmnDeploymentEntitypublic void setNew(boolean isNew)
setNew in interface DmnDeploymentEntityCopyright © 2017 Alfresco. All rights reserved.