|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.bristleback.server.bristle.binding.BindingError
public class BindingError
Wrapper class containing information about error while binding operation.
Created on: 2011-02-27 17:00:32
| Constructor Summary | |
|---|---|
BindingError()
|
|
| Method Summary | |
|---|---|
static BindingError |
addNotNullViolationError(java.lang.String fieldName)
Creates and returns new binding error object with type BindingErrorType.NOT_NULL_VIOLATION and given field name. |
static BindingError |
addTypeMismatchError(java.lang.String fieldName)
Creates and returns new binding error object with type BindingErrorType.TYPE_MISMATCH and given field name. |
BindingErrorType |
getErrorType()
|
java.lang.String |
getFieldName()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BindingError()
| Method Detail |
|---|
public static BindingError addTypeMismatchError(java.lang.String fieldName)
BindingErrorType.TYPE_MISMATCH and given field name.
This error should be added when PropertyValueResolver cannot
extract object value properly and returns null.
fieldName - name of the field related with this type mismatch error.
public static BindingError addNotNullViolationError(java.lang.String fieldName)
BindingErrorType.NOT_NULL_VIOLATION and given field name.
This
fieldName - name of the field related with this not null error.
public java.lang.String getFieldName()
public BindingErrorType getErrorType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||