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) |
Modifier and Type | Method and Description |
---|---|
static Customer.Builder<?> |
builder() |
boolean |
equals(Object obj) |
long |
getId() |
String |
getName() |
int |
hashCode() |
protected com.google.common.base.MoreObjects.ToStringHelper |
string() |
Customer.Builder<?> |
toBuilder() |
String |
toString() |
@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.MoreObjects.ToStringHelper string()
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.