@Entity public class FiscalYearBudget extends AbstractMakueniEntity
statusComments
createdBy, createdDate, lastModifiedBy, lastModifiedDate
Constructor and Description |
---|
FiscalYearBudget() |
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getAmountBudgeted() |
Department |
getDepartment() |
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. |
FiscalYear |
getFiscalYear() |
java.lang.String |
getLabel() |
AbstractAuditableEntity |
getParent()
Override this in subclasses and return the parent entity, or null if no
parent entity exists
|
void |
setAmountBudgeted(java.math.BigDecimal amountBudgeted) |
void |
setDepartment(Department department) |
void |
setFiscalYear(FiscalYear fiscalYear) |
void |
setLabel(java.lang.String label) |
getApprovedDate, getDirectChildrenEntitiesNotNull, getFormDocs, getOwner, 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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getFormDoc
isExportable, isTerminated
public FiscalYear getFiscalYear()
public void setFiscalYear(FiscalYear fiscalYear)
public Department getDepartment()
getDepartment
in class AbstractMakueniEntity
public void setDepartment(Department department)
@Transactional public 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 AbstractAuditableEntity getParent()
AbstractAuditableEntity
getParent
in class AbstractMakueniEntity
public java.math.BigDecimal getAmountBudgeted()
public void setAmountBudgeted(java.math.BigDecimal amountBudgeted)
public void setLabel(java.lang.String label)
public java.lang.String getLabel()