Package org.zkoss.bind.impl
Class WrongValuePropertyImpl
- java.lang.Object
-
- 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
Constructors Constructor Description WrongValuePropertyImpl(java.lang.Object base, java.lang.String property, java.lang.Object wrongValueException)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
Method Detail
-
getBase
public java.lang.Object getBase()
Description copied from 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.
-
getProperty
public java.lang.String getProperty()
Description copied from interface:Property
Returns the name of this property.- Specified by:
getProperty
in interfaceProperty
- Returns:
- the name of this property.
-
getWrongValueExceptions
public WrongValueException[] getWrongValueExceptions()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-