ilog.views.faces.dhtml.component
Class IlvFacesPropertyAccessorError

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by ilog.views.faces.dhtml.component.IlvFacesPropertyAccessorError
All Implemented Interfaces:
Serializable, Cloneable, Map

public final class IlvFacesPropertyAccessorError
extends HashMap

This class provides information on errors that occurs when setting committing properties from the client-side to a JSF component on the server-side.

Since:
JViews 8.0
See Also:
Serialized Form

Field Summary
static int ACCEPT_ERROR
          The error occured when checking whether or not the property accessor accepts to set a particular property.
static int CONVERSION_ERROR
          The error occurred when trying to convert the value as a String to the value type required by the server-side model using IlvConvert.
static int SET_ERROR
          The error occurred when trying to set the actual value on the server-side model.
 
Constructor Summary
IlvFacesPropertyAccessorError(String errorValue, String value, int type)
          Build an IlvFacesPropertyAccessorError instance.
 
Method Summary
 String getErrorValue()
          Returns the value that couldn't be set on the server-side model.
 int getType()
          Returns the type of the error.
 String getValue()
          Returns the value stored in the server-side model.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

ACCEPT_ERROR

public static final int ACCEPT_ERROR
The error occured when checking whether or not the property accessor accepts to set a particular property.

See Also:
Constant Field Values

CONVERSION_ERROR

public static final int CONVERSION_ERROR
The error occurred when trying to convert the value as a String to the value type required by the server-side model using IlvConvert.

See Also:
Constant Field Values

SET_ERROR

public static final int SET_ERROR
The error occurred when trying to set the actual value on the server-side model.

See Also:
Constant Field Values
Constructor Detail

IlvFacesPropertyAccessorError

public IlvFacesPropertyAccessorError(String errorValue,
                                     String value,
                                     int type)
Build an IlvFacesPropertyAccessorError instance.

Parameters:
errorValue - the value that couldn't be set on the server-side model.
value - the value stored in the server-side model.
type - the type of the error.
Method Detail

getErrorValue

public final String getErrorValue()
Returns the value that couldn't be set on the server-side model.

See Also:
getValue()

getValue

public final String getValue()
Returns the value stored in the server-side model.

See Also:
getErrorValue()

getType

public final int getType()
Returns the type of the error. It can be of type:



Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.