Class ProjectEntity
- java.lang.Object
-
- org.activiti.cloud.services.modeling.jpa.audit.AuditableEntity<String>
-
- org.activiti.cloud.services.modeling.entity.ProjectEntity
-
- All Implemented Interfaces:
ModelValidationErrorProducer,Project<String>,Auditable<String>
@Entity(name="Project") public class ProjectEntity extends AuditableEntity<String> implements Project<String>, ModelValidationErrorProducer
Project model entity
-
-
Field Summary
-
Fields inherited from class org.activiti.cloud.services.modeling.jpa.audit.AuditableEntity
createdBy, creationDate, lastModifiedBy, lastModifiedDate
-
-
Constructor Summary
Constructors Constructor Description ProjectEntity()ProjectEntity(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddModel(ModelEntity model)StringgetDescription()StringgetId()Set<ModelEntity>getModels()StringgetName()StringgetVersion()voidremoveModel(ModelEntity model)voidsetDescription(String description)voidsetId(String id)voidsetModels(Set<ModelEntity> models)voidsetName(String name)voidsetVersion(String version)-
Methods inherited from class org.activiti.cloud.services.modeling.jpa.audit.AuditableEntity
getCreatedBy, getCreationDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreationDate, setLastModifiedBy, setLastModifiedDate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.activiti.cloud.services.auditable.Auditable
copyAuditInfo, getCreatedBy, getCreationDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreationDate, setLastModifiedBy, setLastModifiedDate
-
Methods inherited from interface org.activiti.cloud.modeling.api.ModelValidationErrorProducer
createModelValidationError, createModelValidationError
-
-
-
-
Constructor Detail
-
ProjectEntity
public ProjectEntity()
-
ProjectEntity
public ProjectEntity(String name)
-
-
Method Detail
-
getModels
public Set<ModelEntity> getModels()
-
setModels
public void setModels(Set<ModelEntity> models)
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceProject<String>
-
setVersion
public void setVersion(String version)
- Specified by:
setVersionin interfaceProject<String>
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceProject<String>
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceProject<String>
-
addModel
public void addModel(ModelEntity model)
-
removeModel
public void removeModel(ModelEntity model)
-
-