@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","InputErrorsIF"}) @Immutable public final class InputErrors extends Object implements InputErrorsIF
InputErrorsIF.
Use the builder to create immutable instances:
InputErrors.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
InputErrors.Builder
Builds instances of type
InputErrors. |
| Modifier and Type | Method and Description |
|---|---|
static InputErrors.Builder |
builder()
Creates a builder for
InputErrors. |
static InputErrors |
copyOf(InputErrorsIF instance)
Creates an immutable copy of a
InputErrorsIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
InputErrors that have equal attribute values. |
List<InputError> |
getErrors() |
int |
hashCode()
Computes a hash code from attributes:
errors. |
String |
toString()
Prints the immutable value
InputErrors with attribute values. |
InputErrors |
withErrors(InputError... elements)
Copy the current immutable object with elements that replace the content of
errors. |
InputErrors |
withErrors(Iterable<? extends InputError> elements)
Copy the current immutable object with elements that replace the content of
errors. |
public List<InputError> getErrors()
getErrors in interface InputErrorsIFerrors attributepublic final InputErrors withErrors(InputError... elements)
errors.elements - The elements to setthis objectpublic final InputErrors withErrors(Iterable<? extends InputError> elements)
errors.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of errors elements to setthis objectpublic boolean equals(@Nullable Object another)
InputErrors that have equal attribute values.public int hashCode()
errors.public String toString()
InputErrors with attribute values.public static InputErrors copyOf(InputErrorsIF instance)
InputErrorsIF value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static InputErrors.Builder builder()
InputErrors.Copyright © 2019. All rights reserved.