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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getAdded()Deprecated.String[]Deprecated.String[]getTotal()Deprecated.booleanDeprecated.Having *any* value qualifies as having a non-empty value.booleanhasValue()Deprecated.Tells if there is a value.booleanDeprecated.Deprecated.voidDeprecated.voidsetMultiple(boolean multiple) Deprecated.voidsetRemoved(String[] removed) Deprecated.voidDeprecated.toString()Deprecated.Methods inherited from class 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:RebindValueTells 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:
hasValuein 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:
hasNonEmptyValuein 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
-
serializeProperties
Deprecated.- Specified by:
serializePropertiesin interfaceDwrSerializable
-