Class WrongValuePropertyImpl

  • All Implemented Interfaces:
    java.io.Serializable, Property

    public class WrongValuePropertyImpl
    extends java.lang.Object
    implements Property, java.io.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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      WrongValuePropertyImpl​(java.lang.Object base, java.lang.String property, java.lang.Object wrongValueException)  
    • Constructor Detail

      • WrongValuePropertyImpl

        public WrongValuePropertyImpl​(java.lang.Object base,
                                      java.lang.String property,
                                      java.lang.Object wrongValueException)
    • Method Detail

      • getBase

        public java.lang.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 java.lang.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 java.lang.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.
      • toString

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

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object