@Entity
@UniqueTenderProcessEntity(groups=org.devgateway.toolkit.persistence.validator.groups.HighLevel.class,
payload=org.devgateway.toolkit.persistence.validator.Severity.NonRecoverable.class,
message="{org.devgateway.toolkit.persistence.dao.form.UniqueProfessionalOpinion.message}")
public class ProfessionalOpinion
extends AbstractTenderProcessMakueniEntity
tenderProcessstatusCommentscreatedBy, createdDate, lastModifiedBy, lastModifiedDate| Constructor and Description |
|---|
ProfessionalOpinion() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Collection<? extends AbstractMakueniEntity> |
getDirectChildrenEntities()
Gets direct children of current entity, that is the next form(s) that have to be filled in after this one is done
Most of the time this returns just one element, with the exception of
Project where it will return
the Project#getTenderProcesses()
This is used to revert downstream forms when upstream forms are reverted. |
java.util.List<ProfessionalOpinionItem> |
getItems() |
java.lang.String |
getLabel() |
java.lang.Class<?> |
getNextForm()
Return the next form to fill out once the current one was completed.
|
boolean |
hasDownstreamForms()
Return true to prevent deletion of the current form if there are downstream forms that depend on this one.
|
void |
setItems(java.util.List<ProfessionalOpinionItem> items) |
void |
setLabel(java.lang.String label) |
java.lang.String |
toString() |
getDepartment, getProcurementPlan, getProject, getTenderProcess, getTenderProcessNotNull, setTenderProcessgetApprovedDate, getDirectChildrenEntitiesNotNull, getFormDocs, getOwner, getParent, setApprovedDate, setFormDocs, setOwnergetNewStatusComment, getStatus, getStatusComments, getVisibleStatusComments, getVisibleStatusLabel, setNewStatusComment, setStatus, setStatusComments, setVisibleStatusComments, setVisibleStatusLabelensureParentUpdated, getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDate, touchgetVersionequals, getId, hashCode, isNew, setIdclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetFormDocisExportable, isTerminatedpublic void setLabel(java.lang.String label)
public java.lang.String getLabel()
public java.lang.String toString()
toString in class AbstractTenderProcessMakueniEntity@Transactional protected java.util.Collection<? extends AbstractMakueniEntity> getDirectChildrenEntities()
AbstractMakueniEntityProject where it will return
the Project#getTenderProcesses()
This is used to revert downstream forms when upstream forms are reverted. So if u do not need this functionality
just return Collections.emptyList()getDirectChildrenEntities in class AbstractMakueniEntitypublic java.util.List<ProfessionalOpinionItem> getItems()
public void setItems(java.util.List<ProfessionalOpinionItem> items)
public java.lang.Class<?> getNextForm()
AbstractTenderProcessMakueniEntitygetNextForm in class AbstractTenderProcessMakueniEntitypublic boolean hasDownstreamForms()
AbstractTenderProcessMakueniEntityhasDownstreamForms in class AbstractTenderProcessMakueniEntity