public interface HybrisConstraintViolation
ConstraintViolation and provides additionally informations about the
validation violation.| Modifier and Type | Method and Description |
|---|---|
AbstractConstraintModel |
getConstraintModel()
Gets the constraint model which was used for validation.
|
ConstraintViolation |
getConstraintViolation() |
java.lang.String |
getLocalizedMessage()
Gets a localized message for this violation.
|
java.lang.String |
getMessageTemplate()
Gets the message template from the original
ConstraintViolation. |
java.lang.String |
getModelName()
Gets the name of the model which causes the violation.
|
java.lang.String |
getProperty()
Gets the
property path from the ConstraintViolation as string. |
java.lang.String |
getQualifier()
Gets the qualifier in the style
getTypeName()+"."+getProperty(). |
java.lang.String |
getTypeName()
Gets the name of the model which causes the violation.
|
Severity |
getViolationSeverity()
Gets severity enum of the violation.
|
ConstraintViolation getConstraintViolation()
ConstraintViolationjava.lang.String getProperty()
property path from the ConstraintViolation as string.property path from the ConstraintViolation as stringjava.lang.String getModelName()
java.lang.String getTypeName()
java.lang.String getQualifier()
getTypeName()+"."+getProperty().getTypeName()+"."+getProperty()java.lang.String getMessageTemplate()
ConstraintViolation.ConstraintViolationAbstractConstraintModel getConstraintModel()
AbstractConstraintModeljava.lang.String getLocalizedMessage()
Severity getViolationSeverity()
Severity.ERROR.Copyright © 2018 SAP SE. All Rights Reserved.