public static class Bindings.NullBinding extends Bindings.Binding
NULL binding.| Constructor and Description |
|---|
NullBinding(BindMarker marker,
Class<?> valueType) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(BindTarget bindTarget)
Applies the binding to a
BindTarget. |
Object |
getValue()
Returns the value of this binding.
|
Class<?> |
getValueType() |
boolean |
hasValue()
Return true if there is a value present, otherwise false for a
NULL binding. |
getBindMarker, isNullpublic NullBinding(BindMarker marker, Class<?> valueType)
public boolean hasValue()
Bindings.BindingNULL binding.hasValue in class Bindings.BindingNULL binding.@Nullable public Object getValue()
Bindings.BindingNULL binding.getValue in class Bindings.BindingNULL binding.public Class<?> getValueType()
public void apply(BindTarget bindTarget)
Bindings.BindingBindTarget.apply in class Bindings.BindingbindTarget - the target to apply bindings to.Copyright © 2018–2020 Pivotal Software, Inc.. All rights reserved.