@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableV4Explained<T,A,B,C,D> extends V4.V4Explained<T,A,B,C,D>
V4.V4Explained.
Use the builder to create immutable instances:
ImmutableV4Explained.builder().
Use the static factory method to create immutable instances:
ImmutableV4Explained.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableV4Explained.Builder<T,A,B,C,D>
Builds instances of type
ImmutableV4Explained. |
| Modifier and Type | Method and Description |
|---|---|
static <T,A,B,C,D> |
builder()
Creates a builder for
ImmutableV4Explained. |
static <T,A,B,C,D> |
copyOf(V4.V4Explained<T,A,B,C,D> instance)
Creates an immutable copy of a
V4.V4Explained value. |
protected V4<T,A,B,C,D> |
delegate() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableV4Explained that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
delegate, humanReadable. |
protected String |
humanReadable() |
static <T,A,B,C,D> |
of(V4<T,A,B,C,D> delegate,
String humanReadable)
Construct a new immutable
V4Explained instance. |
String |
toString()
Prints the immutable value
V4Explained with attribute values. |
ImmutableV4Explained<T,A,B,C,D> |
withDelegate(V4<T,A,B,C,D> value)
Copy the current immutable object by setting a value for the
delegate attribute. |
ImmutableV4Explained<T,A,B,C,D> |
withHumanReadable(String value)
Copy the current immutable object by setting a value for the
humanReadable attribute. |
asHumanReadable, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitasHumanReadableprotected String humanReadable()
humanReadable in class V4.V4Explained<T,A,B,C,D>humanReadable attributepublic final ImmutableV4Explained<T,A,B,C,D> withDelegate(V4<T,A,B,C,D> value)
delegate attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for delegatethis objectpublic final ImmutableV4Explained<T,A,B,C,D> withHumanReadable(String value)
humanReadable attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for humanReadablethis objectpublic boolean equals(@Nullable Object another)
ImmutableV4Explained that have equal attribute values.public int hashCode()
delegate, humanReadable.public String toString()
V4Explained with attribute values.public static <T,A,B,C,D> ImmutableV4Explained<T,A,B,C,D> of(V4<T,A,B,C,D> delegate, String humanReadable)
V4Explained instance.T - generic parameter TA - generic parameter AB - generic parameter BC - generic parameter CD - generic parameter Ddelegate - The value for the delegate attributehumanReadable - The value for the humanReadable attributepublic static <T,A,B,C,D> ImmutableV4Explained<T,A,B,C,D> copyOf(V4.V4Explained<T,A,B,C,D> instance)
V4.V4Explained value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.T - generic parameter TA - generic parameter AB - generic parameter BC - generic parameter CD - generic parameter Dinstance - The instance to copypublic static <T,A,B,C,D> ImmutableV4Explained.Builder<T,A,B,C,D> builder()
ImmutableV4Explained.
ImmutableV4Explained.<T, A, B, C, D>builder()
.delegate(de.flapdoodle.formula.validation.validations.V4<T, A, B, C, D>) // required delegate
.humanReadable(String) // required humanReadable
.build();
T - generic parameter TA - generic parameter AB - generic parameter BC - generic parameter CD - generic parameter DCopyright © 2023. All rights reserved.