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 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 interface RebindValue
      See Also:
    • hasNonEmptyValue

      public boolean hasNonEmptyValue()
      Deprecated.
      Having *any* value qualifies as having a non-empty value. Thus this behaves the same as hasValue() in this impl.
      Specified by:
      hasNonEmptyValue in interface RebindValue
      See Also:
    • getAdded

      public String[] getAdded()
      Deprecated.
    • setAdded

      public void setAdded(String[] added)
      Deprecated.
    • getRemoved

      public String[] getRemoved()
      Deprecated.
    • setRemoved

      public void setRemoved(String[] removed)
      Deprecated.
    • getTotal

      public String[] getTotal()
      Deprecated.
    • setTotal

      public void setTotal(String[] total)
      Deprecated.
    • isMultiple

      public boolean isMultiple()
      Deprecated.
    • setMultiple

      public void setMultiple(boolean multiple)
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • serializeProperties

      public Map<String,?> serializeProperties()
      Deprecated.
      Specified by:
      serializeProperties in interface DwrSerializable