public class Customer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Customer.Builder<T extends Customer.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
Customer(long id,
String name) |
@ConstructorProperties(value={"id","name"}) protected Customer(long id, String name)
public static Customer.Builder<?> builder()
public Customer.Builder<?> toBuilder()
public long getId()
public String getName()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.