Interface ObjectFactory
-
public interface ObjectFactory
- Author:
- Fabrizio Giudici
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Customer
createCustomer(Customer.Builder builder)
Invoice
createInvoice(Invoice.Builder builder)
JobEvent
createJobEvent(JobEvent.Builder builder)
Project
createProject(Project.Builder builder)
static ObjectFactory
getInstance()
-
-
-
Method Detail
-
getInstance
@Nonnull static ObjectFactory getInstance()
-
createCustomer
@Nonnull Customer createCustomer(@Nonnull Customer.Builder builder)
-
createInvoice
@Nonnull Invoice createInvoice(@Nonnull Invoice.Builder builder)
-
createProject
@Nonnull Project createProject(@Nonnull Project.Builder builder)
-
createJobEvent
@Nonnull JobEvent createJobEvent(@Nonnull JobEvent.Builder builder)
-
-