@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableMinLenQualifier extends MinLenQualifier
MinLenQualifier.
Use the builder to create immutable instances:
ImmutableMinLenQualifier.builder().
Use the static factory method to create immutable instances:
ImmutableMinLenQualifier.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableMinLenQualifier.Builder
Builds instances of type
ImmutableMinLenQualifier. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableMinLenQualifier.Builder |
builder()
Creates a builder for
ImmutableMinLenQualifier. |
static ImmutableMinLenQualifier |
copyOf(MinLenQualifier instance)
Creates an immutable copy of a
MinLenQualifier value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableMinLenQualifier that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
value, type. |
static ImmutableMinLenQualifier |
of(String value)
Construct a new immutable
MinLenQualifier instance. |
String |
toString()
Prints the immutable value
MinLenQualifier with attribute values. |
QualifierType |
type()
The qualifier type.
|
String |
value()
The minimum length.
|
ImmutableMinLenQualifier |
withValue(String value)
Copy the current immutable object by setting a value for the
value attribute. |
public String value()
value in class MinLenQualifierpublic QualifierType type()
Qualifiertype in class MinLenQualifiertype attributepublic final ImmutableMinLenQualifier withValue(String value)
value attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for valuethis objectpublic boolean equals(@Nullable Object another)
ImmutableMinLenQualifier that have equal attribute values.public int hashCode()
value, type.public String toString()
MinLenQualifier with attribute values.public static ImmutableMinLenQualifier of(String value)
MinLenQualifier instance.value - The value for the value attributepublic static ImmutableMinLenQualifier copyOf(MinLenQualifier instance)
MinLenQualifier 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 ImmutableMinLenQualifier.Builder builder()
ImmutableMinLenQualifier.
ImmutableMinLenQualifier.builder()
.value(String) // required value
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.