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