@Entity public class Project extends AbstractMakueniEntity implements ProcurementPlanAttachable, TitleAutogeneratable
statusCommentscreatedBy, createdDate, lastModifiedBy, lastModifiedDate| Constructor and Description |
|---|
Project() |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
getAmountBudgeted() |
java.math.BigDecimal |
getAmountRequested() |
java.util.List<CabinetPaper> |
getCabinetPapers() |
Department |
getDepartment() |
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() |
ProcurementPlan |
getProcurementPlan() |
java.lang.String |
getProjectTitle() |
java.util.List<Subcounty> |
getSubcounties() |
java.lang.String |
getTitle() |
java.util.List<Ward> |
getWards() |
void |
setAmountBudgeted(java.math.BigDecimal amountBudgeted) |
void |
setAmountRequested(java.math.BigDecimal amountRequested) |
void |
setCabinetPapers(java.util.List<CabinetPaper> cabinetPapers) |
void |
setLabel(java.lang.String label) |
void |
setProcurementPlan(ProcurementPlan procurementPlan) |
void |
setProjectTitle(java.lang.String projectTitle) |
void |
setSubcounties(java.util.List<Subcounty> subcounties) |
void |
setWards(java.util.List<Ward> wards) |
java.util.function.Consumer<java.lang.String> |
titleSetter() |
java.lang.String |
toString() |
getApprovedDate, 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, waitautogenerateTitleWhenEmptygetFormDocisExportable, isTerminatedpublic java.lang.String getProjectTitle()
public void setProjectTitle(java.lang.String projectTitle)
public java.math.BigDecimal getAmountBudgeted()
public void setAmountBudgeted(java.math.BigDecimal amountBudgeted)
public java.math.BigDecimal getAmountRequested()
public void setAmountRequested(java.math.BigDecimal amountRequested)
public java.util.List<Subcounty> getSubcounties()
public void setSubcounties(java.util.List<Subcounty> subcounties)
public java.util.List<Ward> getWards()
public void setWards(java.util.List<Ward> wards)
public java.lang.String toString()
toString in class org.springframework.data.jpa.domain.AbstractPersistable<java.lang.Long>public ProcurementPlan getProcurementPlan()
getProcurementPlan in interface ProcurementPlanAttachablepublic void setProcurementPlan(ProcurementPlan procurementPlan)
@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.lang.String getTitle()
getTitle in interface TitleAutogeneratablepublic java.util.function.Consumer<java.lang.String> titleSetter()
titleSetter in interface TitleAutogeneratable@Transactional public Department getDepartment()
getDepartment in class AbstractMakueniEntitypublic java.util.List<CabinetPaper> getCabinetPapers()
public void setCabinetPapers(java.util.List<CabinetPaper> cabinetPapers)