Class WrongValuePropertyImpl

java.lang.Object
org.zkoss.bind.impl.WrongValuePropertyImpl
All Implemented Interfaces:
Serializable, Property

public class WrongValuePropertyImpl extends Object implements Property, Serializable
// ZK-878 Exception if binding a form with errorMessage To handle wrong value exception when getting a component value.
Since:
6.0.1
Author:
dennis
See Also:
  • Constructor Details

    • WrongValuePropertyImpl

      public WrongValuePropertyImpl(Object base, String property, Object wrongValueException)
  • Method Details

    • getBase

      public Object getBase()
      Description copied from interface: Property
      Returns the base object of this property.
      Specified by:
      getBase in interface Property
      Returns:
      the base object of this property.
    • getValue

      public Object getValue()
      Description copied from interface: Property
      Returns the value object of this property.
      Specified by:
      getValue in interface Property
      Returns:
      the value object of this property.
    • getProperty

      public String getProperty()
      Description copied from interface: Property
      Returns the name of this property.
      Specified by:
      getProperty in interface Property
      Returns:
      the name of this property.
    • getWrongValueExceptions

      public org.zkoss.zk.ui.WrongValueException[] getWrongValueExceptions()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object