org.zkoss.bind.impl
Class WrongValuePropertyImpl

java.lang.Object
  extended by org.zkoss.bind.impl.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
WrongValuePropertyImpl(java.lang.Object base, java.lang.String property, java.lang.Object wrongValueException)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Object getBase()
          Returns the base object of this property.
 java.lang.String getProperty()
          Returns the name of this property.
 java.lang.Object getValue()
          Returns the value object of this property.
 WrongValueException[] getWrongValueExceptions()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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.

getWrongValueExceptions

public WrongValueException[] getWrongValueExceptions()

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


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo