Class ModelImpl
- java.lang.Object
-
- org.activiti.cloud.services.auditable.AbstractAuditable<String>
-
- org.activiti.cloud.modeling.api.impl.ModelImpl
-
- All Implemented Interfaces:
Model<ProjectImpl,String>,Auditable<String>
public class ModelImpl extends AbstractAuditable<String> implements Model<ProjectImpl,String>
Implementation forModel
-
-
Field Summary
-
Fields inherited from class org.activiti.cloud.services.auditable.AbstractAuditable
createdBy, creationDate, lastModifiedBy, lastModifiedDate
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProject(ProjectImpl project)voidclearProjects()StringgetCategory()byte[]getContent()StringgetContentType()Map<String,Object>getExtensions()StringgetId()StringgetName()Set<ProjectImpl>getProjects()ModelScopegetScope()StringgetTemplate()StringgetType()StringgetVersion()booleanhasMultipleProjects()booleanhasProjects()voidremoveProject(ProjectImpl project)voidsetCategory(String category)voidsetContent(byte[] content)voidsetContentType(String contentType)voidsetExtensions(Map<String,Object> extensions)voidsetId(String id)voidsetName(String name)voidsetScope(ModelScope scope)voidsetTemplate(String template)voidsetType(String type)voidsetVersion(String version)StringtoString()-
Methods inherited from class org.activiti.cloud.services.auditable.AbstractAuditable
getCreatedBy, getCreationDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreationDate, setLastModifiedBy, setLastModifiedDate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.activiti.cloud.services.auditable.Auditable
copyAuditInfo, getCreatedBy, getCreationDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreationDate, setLastModifiedBy, setLastModifiedDate
-
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceModel<ProjectImpl,String>
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceModel<ProjectImpl,String>
-
getName
public String getName()
- Specified by:
getNamein interfaceModel<ProjectImpl,String>
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceModel<ProjectImpl,String>
-
getType
public String getType()
- Specified by:
getTypein interfaceModel<ProjectImpl,String>
-
setType
public void setType(String type)
- Specified by:
setTypein interfaceModel<ProjectImpl,String>
-
getProjects
public Set<ProjectImpl> getProjects()
- Specified by:
getProjectsin interfaceModel<ProjectImpl,String>
-
addProject
public void addProject(ProjectImpl project)
- Specified by:
addProjectin interfaceModel<ProjectImpl,String>
-
removeProject
public void removeProject(ProjectImpl project)
- Specified by:
removeProjectin interfaceModel<ProjectImpl,String>
-
clearProjects
public void clearProjects()
- Specified by:
clearProjectsin interfaceModel<ProjectImpl,String>
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceModel<ProjectImpl,String>
-
setVersion
public void setVersion(String version)
-
getContentType
public String getContentType()
- Specified by:
getContentTypein interfaceModel<ProjectImpl,String>
-
setContentType
public void setContentType(String contentType)
- Specified by:
setContentTypein interfaceModel<ProjectImpl,String>
-
getContent
public byte[] getContent()
- Specified by:
getContentin interfaceModel<ProjectImpl,String>
-
setContent
public void setContent(byte[] content)
- Specified by:
setContentin interfaceModel<ProjectImpl,String>
-
getExtensions
public Map<String,Object> getExtensions()
- Specified by:
getExtensionsin interfaceModel<ProjectImpl,String>
-
setExtensions
public void setExtensions(Map<String,Object> extensions)
- Specified by:
setExtensionsin interfaceModel<ProjectImpl,String>
-
getTemplate
public String getTemplate()
- Specified by:
getTemplatein interfaceModel<ProjectImpl,String>
-
setTemplate
public void setTemplate(String template)
- Specified by:
setTemplatein interfaceModel<ProjectImpl,String>
-
getScope
public ModelScope getScope()
- Specified by:
getScopein interfaceModel<ProjectImpl,String>
-
setScope
public void setScope(ModelScope scope)
- Specified by:
setScopein interfaceModel<ProjectImpl,String>
-
getCategory
public String getCategory()
- Specified by:
getCategoryin interfaceModel<ProjectImpl,String>
-
setCategory
public void setCategory(String category)
- Specified by:
setCategoryin interfaceModel<ProjectImpl,String>
-
hasProjects
public boolean hasProjects()
- Specified by:
hasProjectsin interfaceModel<ProjectImpl,String>
-
hasMultipleProjects
public boolean hasMultipleProjects()
- Specified by:
hasMultipleProjectsin interfaceModel<ProjectImpl,String>
-
-