public static class ValueProvider.NestedValueProvider<T,X> extends java.lang.Object implements ValueProvider<T>, java.io.Serializable
ValueProvider.NestedValueProvider
is an implementation of ValueProvider
that
allows for wrapping another ValueProvider
object.ValueProvider.Deserializer, ValueProvider.NestedValueProvider<T,X>, ValueProvider.RuntimeValueProvider<T>, ValueProvider.Serializer, ValueProvider.StaticValueProvider<T>
Modifier and Type | Method and Description |
---|---|
T |
get()
Return the value wrapped by this
ValueProvider . |
boolean |
isAccessible()
Whether the contents of this
ValueProvider is available to
routines that run at graph construction time. |
static <T,X> ValueProvider.NestedValueProvider<T,X> |
of(ValueProvider<X> value,
SerializableFunction<X,T> translator)
Creates a
ValueProvider.NestedValueProvider that wraps the provided value. |
java.lang.String |
propertyName()
Returns the property name associated with this provider.
|
java.lang.String |
toString() |
public static <T,X> ValueProvider.NestedValueProvider<T,X> of(ValueProvider<X> value, SerializableFunction<X,T> translator)
ValueProvider.NestedValueProvider
that wraps the provided value.public T get()
ValueProvider
ValueProvider
.get
in interface ValueProvider<T>
public boolean isAccessible()
ValueProvider
ValueProvider
is available to
routines that run at graph construction time.isAccessible
in interface ValueProvider<T>
public java.lang.String propertyName()
public java.lang.String toString()
toString
in class java.lang.Object