@Entity public class CabinetPaper extends AbstractMakueniEntity implements ProcurementPlanAttachable
statusComments
createdBy, createdDate, lastModifiedBy, lastModifiedDate
Constructor and Description |
---|
CabinetPaper() |
Modifier and Type | Method and Description |
---|---|
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() |
java.lang.String |
getName() |
java.lang.String |
getNumber() |
ProcurementPlan |
getProcurementPlan() |
boolean |
isExportable()
Determine if an Object can be exported to public portal, excel export, etc...
|
void |
setLabel(java.lang.String label) |
void |
setName(java.lang.String name) |
void |
setNumber(java.lang.String number) |
void |
setProcurementPlan(ProcurementPlan procurementPlan) |
java.lang.String |
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
isTerminated
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getNumber()
public void setNumber(java.lang.String number)
public ProcurementPlan getProcurementPlan()
getProcurementPlan
in interface ProcurementPlanAttachable
public void setProcurementPlan(ProcurementPlan procurementPlan)
public java.lang.String toString()
toString
in class org.springframework.data.jpa.domain.AbstractPersistable<java.lang.Long>
@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 Department getDepartment()
getDepartment
in class AbstractMakueniEntity
public boolean isExportable()
Statusable
isExportable
in interface Statusable