public final class IlvFacesPropertyAccessorError extends HashMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
IlvFacesPropertyAccessorError(String errorValue,
String value,
int type)
Build an
IlvFacesPropertyAccessorError instance. |
Modifier and Type | Method and Description |
---|---|
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.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public static final int ACCEPT_ERROR
public static final int CONVERSION_ERROR
String
to the value type required by the server-side model using IlvConvert
.public static final int SET_ERROR
public IlvFacesPropertyAccessorError(String errorValue, String value, int type)
IlvFacesPropertyAccessorError
instance.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.public String getErrorValue()
getValue()
public String getValue()
getErrorValue()
public int getType()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.