Revision b1f3fc31
Added by Andreas Müller over 9 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/validation/EntityConstraintViolation.java | ||
---|---|---|
24 | 24 |
import org.hibernate.annotations.Type; |
25 | 25 |
|
26 | 26 |
import eu.etaxonomy.cdm.model.common.CdmBase; |
27 |
import eu.etaxonomy.cdm.validation.Severity; |
|
28 | 27 |
|
29 | 28 |
/** |
30 | 29 |
* An {@code EntityConstraintViolation} represents a single error resulting from the |
... | ... | |
70 | 69 |
private String invalidValue; |
71 | 70 |
|
72 | 71 |
@XmlElement(name = "Severity") |
73 |
@Type(type = "eu.etaxonomy.cdm.model.validation.SeverityType")
|
|
72 |
@Type(type = "eu.etaxonomy.cdm.hibernate.SeverityUserType")
|
|
74 | 73 |
private Severity severity; |
75 | 74 |
|
76 | 75 |
@XmlElement(name = "Message") |
Also available in: Unified diff
refactor validation classes