Class InMemoryJobEventGroup
java.lang.Object
it.tidalwave.accounting.model.impl.InMemoryJobEvent
it.tidalwave.accounting.model.impl.InMemoryJobEventGroup
- All Implemented Interfaces:
JobEvent,JobEventGroup,JobEventGroupSpi,JobEventSpi,it.tidalwave.role.Composite<JobEvent,,it.tidalwave.util.Finder<JobEvent>> it.tidalwave.role.Identifiable,it.tidalwave.role.SimpleComposite<JobEvent>,it.tidalwave.util.As
- Author:
- Fabrizio Giudici
-
Nested Class Summary
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.JobEvent
JobEvent.Builder, JobEvent.Type -
Field Summary
Fields inherited from class it.tidalwave.accounting.model.impl.InMemoryJobEvent
description, id, nameFields inherited from interface it.tidalwave.role.Composite
_Composite_, DEFAULTFields inherited from interface it.tidalwave.role.Identifiable
_Identifiable_Fields inherited from interface it.tidalwave.role.SimpleComposite
_SimpleComposite_ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the datetime of the event.Returns the duration of the event.Returns the earnings for the event.Returns a builder pre-populated with all the attributes.Methods inherited from class it.tidalwave.accounting.model.impl.InMemoryJobEvent
builderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface it.tidalwave.util.As
as, as, asMany, asMany, maybeAs, maybeAsMethods inherited from interface it.tidalwave.role.Composite
forEach, streamMethods inherited from interface it.tidalwave.role.Identifiable
getIdMethods inherited from interface it.tidalwave.accounting.model.spi.JobEventSpi
getDescription, getName
-
Constructor Details
-
InMemoryJobEventGroup
-
-
Method Details
-
toBuilder
Returns a builder pre-populated with all the attributes.- Specified by:
toBuilderin interfaceJobEvent- Specified by:
toBuilderin classInMemoryJobEvent- Returns:
- the builder
-
getDateTime
Returns the datetime of the event.- Specified by:
getDateTimein interfaceJobEventSpi- Specified by:
getDateTimein classInMemoryJobEvent- Returns:
- the date
-
getEarnings
Returns the earnings for the event.- Specified by:
getEarningsin interfaceJobEventSpi- Specified by:
getEarningsin classInMemoryJobEvent- Returns:
- the earnings
-
getDuration
Returns the duration of the event.- Specified by:
getDurationin interfaceJobEventSpi- Specified by:
getDurationin classInMemoryJobEvent- Returns:
- the duration
-
findChildren
- Specified by:
findChildrenin interfaceit.tidalwave.role.Composite<JobEvent,it.tidalwave.util.Finder<JobEvent>> - Specified by:
findChildrenin interfaceJobEventGroup
-