Class ValidValuesBinding.ValidValue

java.lang.Object
org.eclnt.jsfserver.elements.util.ValidValuesBinding.ValidValue
All Implemented Interfaces:
Serializable, Comparable<ValidValuesBinding.ValidValue>
Enclosing class:
ValidValuesBinding

public class ValidValuesBinding.ValidValue extends Object implements Serializable, Comparable<ValidValuesBinding.ValidValue>
Item within the ValidValuesBinding.
See Also:
  • Constructor Details

    • ValidValue

      public ValidValue()
  • Method Details

    • getValue

      public String getValue()
      This method is always returning the string representation of the value at it is sent to the client side. Use method getObjectValue() if you pass e.g. other Comparables (e.g. integer values) as value.
    • getText

      public String getText()
    • getValuecomment

      public String getValuecomment()
    • getImage

      public String getImage()
    • getObjectValue

      public Comparable getObjectValue()
      This method is always returning the object representation. If you use e.g. Integer-values in the addValidValue-method then this method is returning the Integer value, while getValue() is returning the string representation.
    • compareTo

      public int compareTo(ValidValuesBinding.ValidValue o)
      Specified by:
      compareTo in interface Comparable<ValidValuesBinding.ValidValue>