Class GeoSearchRebindValue
java.lang.Object
ch.tocco.nice2.netui.spi.bind.AbstractRebindValue
ch.tocco.nice2.optional.geolocation.impl.gui.GeoSearchRebindValue
- All Implemented Interfaces:
RebindValue
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Tells if there is a value, and it's not "empty
".boolean
hasValue()
Tells if there is a value.void
setDistance
(String distance) void
setLatitude
(String latitude) void
setLatitudeFieldname
(String latitudeFieldname) void
setLongitude
(String longitude) void
setLongitudeFieldname
(String longitudeFieldname) Methods inherited from class ch.tocco.nice2.netui.spi.bind.AbstractRebindValue
getComponentId, getFieldUri, getVersion, isDirty, setComponentId, setDirty, setFieldUri, setVersion
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.netui.api.bind.entity.RebindValue
getComponentId, getFieldUri, getVersion, isDirty
-
Constructor Details
-
GeoSearchRebindValue
public GeoSearchRebindValue()
-
-
Method Details
-
hasValue
public boolean hasValue()Description copied from interface:RebindValue
Tells if there is a value.- For a simple value that means: something not null.
- For a selection value that means: at least one selection.
Note: this has absolutely nothing to do with
RebindValue.isDirty()
! This instance may be dirty and have "no value" (something was removed), or be clean and have a value (an initial default value for example).- Specified by:
hasValue
in interfaceRebindValue
- See Also:
-
hasNonEmptyValue
public boolean hasNonEmptyValue()Description copied from interface:RebindValue
Tells if there is a value, and it's not "empty
".- Specified by:
hasNonEmptyValue
in interfaceRebindValue
- See Also:
-
getDistance
-
getLatitudeFieldname
-
getLongitudeFieldname
-
setDistance
-
setLatitudeFieldname
-
setLongitudeFieldname
-
getLatitude
-
setLatitude
-
getLongitude
-
setLongitude
-