public class ConstraintViolation extends Object implements Serializable
core::ConstraintViolation.| Constructor and Description |
|---|
ConstraintViolation(Variant.RecordVariant constraintViolation)
Wraps the
core::ConstraintViolation record variant to provide better API
for the work with the record. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getMessage()
Gets the constraint violation error message.
|
PropertyPath |
getProperty()
Gets the property the constraint violation pertains to.
|
Variant.RecordVariant |
getRecord()
Gets the record the constraint violation pertains to.
|
Variant.RecordVariant |
getViolation()
Gets the wrapped constraint violation.
|
int |
hashCode() |
String |
toString() |
public ConstraintViolation(Variant.RecordVariant constraintViolation)
core::ConstraintViolation record variant to provide better API
for the work with the record.constraintViolation - the record to wrappublic Variant.RecordVariant getViolation()
public String getMessage()
public Variant.RecordVariant getRecord()
public PropertyPath getProperty()
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.