Package ch.tocco.nice2.netui.spi.bind
Class SelectionRebindValue
java.lang.Object
ch.tocco.nice2.netui.spi.bind.AbstractRebindValue
ch.tocco.nice2.netui.spi.bind.SelectionRebindValue
- All Implemented Interfaces:
RebindValue
,DwrSerializable
@Deprecated
public class SelectionRebindValue
extends AbstractRebindValue
implements DwrSerializable
Deprecated.
Represents a value as received back from the client.
This is for values that are a collection, multiple things. Also For zero-or-one type of selections. For example entity relations in the entity system. In the gui they can look like selection fields, multi selection fields etc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
getAdded()
Deprecated.String[]
Deprecated.String[]
getTotal()
Deprecated.boolean
Deprecated.Having *any* value qualifies as having a non-empty value.boolean
hasValue()
Deprecated.Tells if there is a value.boolean
Deprecated.Deprecated.void
Deprecated.void
setMultiple
(boolean multiple) Deprecated.void
setRemoved
(String[] removed) Deprecated.void
Deprecated.toString()
Deprecated.Methods inherited from class ch.tocco.nice2.netui.spi.bind.AbstractRebindValue
getComponentId, getFieldUri, getVersion, isDirty, setComponentId, setDirty, setFieldUri, setVersion
-
Constructor Details
-
SelectionRebindValue
public SelectionRebindValue()Deprecated.
-
-
Method Details
-
hasValue
public boolean hasValue()Deprecated.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()Deprecated.Having *any* value qualifies as having a non-empty value. Thus this behaves the same ashasValue()
in this impl.- Specified by:
hasNonEmptyValue
in interfaceRebindValue
- See Also:
-
getAdded
Deprecated. -
setAdded
Deprecated. -
getRemoved
Deprecated. -
setRemoved
Deprecated. -
getTotal
Deprecated. -
setTotal
Deprecated. -
isMultiple
public boolean isMultiple()Deprecated. -
setMultiple
public void setMultiple(boolean multiple) Deprecated. -
toString
Deprecated. -
serializeProperties
Deprecated.- Specified by:
serializeProperties
in interfaceDwrSerializable
-