@Generated(value="org.immutables.processor.ProxyProcessor") public final class Name extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Name.Builder
Builds instances of type
Name. |
| Modifier and Type | Method and Description |
|---|---|
static Name.Builder |
builder()
Creates a builder for
Name. |
boolean |
equals(Object another)
This instance is equal to all instances of
Name that have equal attribute values. |
String |
getFamilyName()
The family name
|
String |
getGivenName()
The given name
|
int |
hashCode()
Computes a hash code from attributes:
familyName, givenName. |
String |
toString()
Prints the immutable value
Name with attribute values. |
public String getFamilyName()
public String getGivenName()
public boolean equals(Object another)
Name that have equal attribute values.public int hashCode()
familyName, givenName.public String toString()
Name with attribute values.public static Name.Builder builder()
Name.
Name.builder()
.familyName(String | null) // nullable familyName
.givenName(String | null) // nullable givenName
.build();
Copyright © 2020. All rights reserved.