Modifier and Type | Field and Description |
---|---|
protected long |
id |
protected String |
name |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Customer |
build() |
T |
fromCustomer(Customer in) |
T |
id(long id) |
T |
name(String name) |
protected abstract T |
self() |
protected long id
protected String name
protected abstract T self()
public T id(long id)
Customer.getId()
public T name(String name)
Customer.getName()
public Customer build()
Copyright © 2009-2021 The Apache Software Foundation. All Rights Reserved.