Class InMemoryProject
java.lang.Object
it.tidalwave.accounting.model.impl.InMemoryProject
- All Implemented Interfaces:
Project
,ProjectSpi
,it.tidalwave.role.Composite<JobEvent,
,it.tidalwave.util.Finder<JobEvent>> it.tidalwave.role.Identifiable
,it.tidalwave.role.SimpleComposite<JobEvent>
,it.tidalwave.util.As
This class models a project.
- Author:
- Fabrizio Giudici
-
Nested Class Summary
Nested classes/interfaces inherited from interface it.tidalwave.util.As
it.tidalwave.util.As.Type<T>
Nested classes/interfaces inherited from interface it.tidalwave.role.Composite
it.tidalwave.role.Composite.Visitor<T,
R> Nested classes/interfaces inherited from interface it.tidalwave.accounting.model.Project
Project.Builder, Project.Status
-
Field Summary
Fields inherited from interface it.tidalwave.role.Composite
_Composite_, DEFAULT
Fields inherited from interface it.tidalwave.role.Identifiable
_Identifiable_
Fields inherited from interface it.tidalwave.role.SimpleComposite
_SimpleComposite_
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface it.tidalwave.util.As
as, as, asMany, asMany, maybeAs, maybeAs
Methods inherited from interface it.tidalwave.role.Composite
forEach, stream
Methods inherited from interface it.tidalwave.role.Identifiable
getId
Methods inherited from interface it.tidalwave.accounting.model.Project
getCustomer
Methods inherited from interface it.tidalwave.accounting.model.spi.ProjectSpi
getBudget, getEndDate, getHourlyRate, getName, getNotes, getNumber, getStartDate, getStatus
-
Constructor Details
-
InMemoryProject
-
-
Method Details
-
findChildren
- Specified by:
findChildren
in interfaceit.tidalwave.role.Composite<JobEvent,
it.tidalwave.util.Finder<JobEvent>> - Specified by:
findChildren
in interfaceProject
-
getEarnings
- Specified by:
getEarnings
in interfaceProjectSpi
-
getDuration
- Specified by:
getDuration
in interfaceProjectSpi
-
getInvoicedEarnings
- Specified by:
getInvoicedEarnings
in interfaceProjectSpi
-
toBuilder
-