T
- public final class AttributeValue<T> extends Object
Modifier and Type | Method and Description |
---|---|
<X> AttributeValue<X> |
cast(AttributeSpec<X> spec) |
static <T> AttributeValue<T> |
derived(T value,
AttributeValue<?> dependentResult) |
static <T> AttributeValue<T> |
error() |
TrailItemSet |
getAdditionalDataTrail() |
<D> D |
getLoaderData(Class<D> valueClass) |
T |
getValue() |
boolean |
isDefined() |
boolean |
isEmpty() |
boolean |
isError() |
static <T> AttributeValue<T> |
of(T value) |
static <T> AttributeValue<T> |
ofNullable(T value) |
String |
toString() |
static <T> AttributeValue<T> |
undefined() |
AttributeValue<T> |
withData(Object loaderData) |
AttributeValue<T> |
withTrail(ItemIdentity trailItem) |
AttributeValue<T> |
withTrail(TrailItemSet trail) |
@NotNull public static <T> AttributeValue<T> derived(T value, AttributeValue<?> dependentResult)
@NotNull public static <T> AttributeValue<T> of(@Nullable T value)
@NotNull public static <T> AttributeValue<T> ofNullable(@Nullable T value)
public static <T> AttributeValue<T> undefined()
public AttributeValue<T> withTrail(ItemIdentity trailItem)
public AttributeValue<T> withTrail(TrailItemSet trail)
public AttributeValue<T> withData(Object loaderData)
public T getValue()
public boolean isDefined()
public boolean isError()
public boolean isEmpty()
@Nullable public <D> D getLoaderData(Class<D> valueClass)
@NotNull public TrailItemSet getAdditionalDataTrail()
public <X> AttributeValue<X> cast(AttributeSpec<X> spec)
public static <T> AttributeValue<T> error()
Copyright © 2019 ALM Works. All Rights Reserved.