public final class Restaurant extends BaseEntity
Modifier and Type | Class and Description |
---|---|
static class |
Restaurant.Builder |
type, version
Modifier and Type | Method and Description |
---|---|
static Restaurant.Builder |
builder() |
boolean |
equals(Object o) |
PostalAddress |
getLocation()
location
|
String |
getName()
name of the restaurant
|
int |
hashCode() |
String |
toString() |
getType, getVersion
public static Restaurant.Builder builder()
public String getName()
public PostalAddress getLocation()
public boolean equals(Object o)
equals
in class BaseEntity
public int hashCode()
hashCode
in class BaseEntity
public String toString()
toString
in class BaseEntity
Copyright © 2023. All rights reserved.