@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.UniqueTenderQuotationEvaluation.message}") public class TenderQuotationEvaluation extends AbstractTenderProcessMakueniEntity
tenderProcess
statusComments
createdBy, createdDate, lastModifiedBy, lastModifiedDate
Constructor and Description |
---|
TenderQuotationEvaluation() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Bid> |
getBids() |
java.util.Date |
getClosingDate() |
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.lang.String |
getLabel() |
java.lang.Class<?> |
getNextForm()
Return the next form to fill out once the current one was completed.
|
java.util.Date |
getOpeningDate() |
boolean |
hasDownstreamForms()
Return true to prevent deletion of the current form if there are downstream forms that depend on this one.
|
void |
setBids(java.util.List<Bid> bids) |
void |
setClosingDate(java.util.Date closingDate) |
void |
setLabel(java.lang.String label) |
void |
setOpeningDate(java.util.Date openingDate) |
getDepartment, getProcurementPlan, getProject, getTenderProcess, getTenderProcessNotNull, setTenderProcess, toString
getApprovedDate, getDirectChildrenEntitiesNotNull, getFormDocs, getOwner, getParent, setApprovedDate, setFormDocs, setOwner
getNewStatusComment, getStatus, getStatusComments, getVisibleStatusComments, getVisibleStatusLabel, setNewStatusComment, setStatus, setStatusComments, setVisibleStatusComments, setVisibleStatusLabel
ensureParentUpdated, getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDate, touch
getVersion
equals, getId, hashCode, isNew, setId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getFormDoc
isExportable, isTerminated
public java.util.Date getOpeningDate()
public void setOpeningDate(java.util.Date openingDate)
public java.util.Date getClosingDate()
public void setClosingDate(java.util.Date closingDate)
public java.util.List<Bid> getBids()
public void setBids(java.util.List<Bid> bids)
public void setLabel(java.lang.String label)
public java.lang.String getLabel()
@Transactional protected java.util.Collection<? extends AbstractMakueniEntity> getDirectChildrenEntities()
AbstractMakueniEntity
Project
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 AbstractMakueniEntity
public java.lang.Class<?> getNextForm()
AbstractTenderProcessMakueniEntity
getNextForm
in class AbstractTenderProcessMakueniEntity
public boolean hasDownstreamForms()
AbstractTenderProcessMakueniEntity
hasDownstreamForms
in class AbstractTenderProcessMakueniEntity