Class InMemoryCustomer
- java.lang.Object
-
- it.tidalwave.accounting.model.impl.InMemoryCustomer
-
- All Implemented Interfaces:
Customer
,CustomerSpi
,it.tidalwave.role.Identifiable
,it.tidalwave.util.As
@Immutable public class InMemoryCustomer extends java.lang.Object implements CustomerSpi
This class models a customer.- Author:
- Fabrizio Giudici
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface it.tidalwave.util.As
it.tidalwave.util.As.Type<T extends java.lang.Object>
-
Nested classes/interfaces inherited from interface it.tidalwave.accounting.model.Customer
Customer.Builder
-
-
Constructor Summary
Constructors Constructor Description InMemoryCustomer(Customer.Builder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectRegistry.ProjectFinder
findProjects()
Customer.Builder
toBuilder()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface it.tidalwave.accounting.model.spi.CustomerSpi
getName
-
-
-
-
Constructor Detail
-
InMemoryCustomer
public InMemoryCustomer(@Nonnull Customer.Builder builder)
-
-
Method Detail
-
findProjects
@Nonnull public ProjectRegistry.ProjectFinder findProjects()
- Specified by:
findProjects
in interfaceCustomer
-
toBuilder
@Nonnull public Customer.Builder toBuilder()
-
-