| Package | Description |
|---|---|
| de.flapdoodle.formula.validation | |
| de.flapdoodle.formula.validation.validations |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableValidatedValue<T>
Immutable implementation of
ValidatedValue. |
| Modifier and Type | Method and Description |
|---|---|
<T> ValidatedValue<T> |
ValidatedValueLookup.get(ValueSource<T> id) |
<T> ValidatedValue<T> |
StrictValidatedValueLookup.get(ValueSource<T> id) |
static <T> ValidatedValue<T> |
ValidatedValue.of(ValueSource<T> id,
List<ErrorMessage> errorMessages,
Set<? extends ValueSource<?>> invalidReferences)
Deprecated.
|
static <T> ValidatedValue<T> |
ValidatedValue.of(ValueSource<T> id,
T value) |
static <T> ValidatedValue<T> |
ValidatedValue.of(ValueSource<T> id,
ValidationError validationError) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<ValueSource<?>,ValidatedValue<?>> |
ImmutableStrictValidatedValueLookup.validatedValueMap()
Returns a lazily initialized value of the
validatedValueMap attribute. |
protected Map<ValueSource<?>,ValidatedValue<?>> |
StrictValidatedValueLookup.validatedValueMap() |
protected com.google.common.collect.ImmutableList<ValidatedValue<?>> |
ImmutableStrictValidatedValueLookup.validatedValues() |
protected abstract List<ValidatedValue<?>> |
StrictValidatedValueLookup.validatedValues() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableStrictValidatedValueLookup.Builder |
ImmutableStrictValidatedValueLookup.Builder.addValidatedValues(ValidatedValue<?>... elements)
Adds elements to
validatedValues list. |
ImmutableStrictValidatedValueLookup.Builder |
ImmutableStrictValidatedValueLookup.Builder.addValidatedValues(ValidatedValue<?> element)
Adds one element to
validatedValues list. |
static <T> ImmutableValidatedValue<T> |
ImmutableValidatedValue.copyOf(ValidatedValue<T> instance)
Creates an immutable copy of a
ValidatedValue value. |
ImmutableValidatedValue.Builder<T> |
ImmutableValidatedValue.Builder.from(ValidatedValue<T> instance)
Fill a builder with attribute values from the provided
ValidatedValue instance. |
ImmutableStrictValidatedValueLookup |
ImmutableStrictValidatedValueLookup.withValidatedValues(ValidatedValue<?>... elements)
Copy the current immutable object with elements that replace the content of
validatedValues. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableStrictValidatedValueLookup.Builder |
ImmutableStrictValidatedValueLookup.Builder.addAllValidatedValues(Iterable<? extends ValidatedValue<?>> elements)
Adds elements to
validatedValues list. |
static ImmutableStrictValidatedValueLookup |
ImmutableStrictValidatedValueLookup.of(Iterable<? extends ValidatedValue<?>> validatedValues)
Construct a new immutable
StrictValidatedValueLookup instance. |
static ImmutableStrictValidatedValueLookup |
ImmutableStrictValidatedValueLookup.of(List<ValidatedValue<?>> validatedValues)
Construct a new immutable
StrictValidatedValueLookup instance. |
ImmutableStrictValidatedValueLookup.Builder |
ImmutableStrictValidatedValueLookup.Builder.validatedValues(Iterable<? extends ValidatedValue<?>> elements)
Sets or replaces all elements for
validatedValues list. |
static StrictValidatedValueLookup |
StrictValidatedValueLookup.with(List<ValidatedValue<?>> validatedValues) |
ImmutableStrictValidatedValueLookup |
ImmutableStrictValidatedValueLookup.withValidatedValues(Iterable<? extends ValidatedValue<?>> elements)
Copy the current immutable object with elements that replace the content of
validatedValues. |
Copyright © 2023. All rights reserved.