| Package | org.granite.tide.validators |
| Class | public class ServerConstraintViolation |
| Inheritance | ServerConstraintViolation ConstraintViolation |
| Property | Defined by | ||
|---|---|---|---|
| constraint : IConstraint
[read-only]
The
IConstraint that failed. | ServerConstraintViolation | ||
| invalidValue : * [read-only]
The value of the invalid property.
| ServerConstraintViolation | ||
| leafBean : * [read-only]
The leaf bean type of the invalid property.
| ServerConstraintViolation | ||
| message : String [read-only]
The error message, with all parameters resolved by the current message
interpolator.
| ServerConstraintViolation | ||
| messageKey : String [read-only]
The raw error message key.
| ServerConstraintViolation | ||
| property : * [read-only]
The property name (fields), index (collections) or key (map)
of the invalid property.
| ServerConstraintViolation | ||
| propertyPath : IPath
[read-only]
The path from the root bean to the invalid property.
| ServerConstraintViolation | ||
| rootBean : * [read-only]
The root bean of the invalid property.
| ServerConstraintViolation | ||
| rootBeanType : * [read-only]
The root bean type of the invalid property.
| ServerConstraintViolation | ||
| Method | Defined by | ||
|---|---|---|---|
|
ServerConstraintViolation(invalidValue:InvalidValue, rootBean:Object, bean:Object)
Constructs a new
ServerConstraintViolation instance. | ServerConstraintViolation | ||
|
toString():String
Returns the message property of this
ConstraintViolation
instance. | ServerConstraintViolation | ||
| constraint | property |
constraint:IConstraint [read-only]
The IConstraint that failed.
public function get constraint():IConstraint
| invalidValue | property |
invalidValue:* [read-only]The value of the invalid property.
Implementation public function get invalidValue():*
| leafBean | property |
leafBean:* [read-only]The leaf bean type of the invalid property.
Implementation public function get leafBean():*
| message | property |
message:String [read-only]The error message, with all parameters resolved by the current message interpolator.
Implementation public function get message():String
See also
| messageKey | property |
messageKey:String [read-only]The raw error message key.
Implementation public function get messageKey():String
| property | property |
property:* [read-only]The property name (fields), index (collections) or key (map) of the invalid property.
Implementation public function get property():*
| propertyPath | property |
propertyPath:IPath [read-only]The path from the root bean to the invalid property.
Implementation public function get propertyPath():IPath
| rootBean | property |
rootBean:* [read-only]The root bean of the invalid property.
Implementation public function get rootBean():*
| rootBeanType | property |
rootBeanType:* [read-only]The root bean type of the invalid property.
Implementation public function get rootBeanType():*
| ServerConstraintViolation | () | constructor |
public function ServerConstraintViolation(invalidValue:InvalidValue, rootBean:Object, bean:Object)
Constructs a new ServerConstraintViolation instance.
invalidValue:InvalidValue — serialized server-side ConstraintViolation
|
|
rootBean:Object — root bean
|
|
bean:Object — leaf bean
|
| toString | () | method |
public override function toString():String
Returns the message property of this ConstraintViolation
instance.
String — the message property of this ConstraintViolation
instance.
|
See also