Class SimpleRebindValue

java.lang.Object
ch.tocco.nice2.netui.spi.bind.AbstractRebindValue
ch.tocco.nice2.netui.spi.bind.SimpleRebindValue
All Implemented Interfaces:
RebindValue, SimpleValue, DwrSerializable

@Deprecated public class SimpleRebindValue extends AbstractRebindValue implements SimpleValue, DwrSerializable
Deprecated.
Represents a value as received back from the client.

This is for values that fit into a TypedValue. For example entity fields in the entity system.

  • Constructor Details

    • SimpleRebindValue

      public SimpleRebindValue()
      Deprecated.
  • Method Details

    • getOperator

      public String getOperator()
      Deprecated.
    • setOperator

      public void setOperator(String operator)
      Deprecated.
    • getValue

      public TypedValue getValue()
      Deprecated.
      Specified by:
      getValue in interface SimpleValue
    • setValue

      public void setValue(TypedValue value)
      Deprecated.
    • 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.
      Description copied from interface: RebindValue
      Tells if there is a value, and it's not "empty".
      Specified by:
      hasNonEmptyValue in interface RebindValue
      See Also:
    • serializeProperties

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