1 package org.kuali.student.common.dictionary.dto;
2
3 import javax.xml.bind.annotation.XmlAccessType;
4 import javax.xml.bind.annotation.XmlAccessorType;
5 import javax.xml.bind.annotation.XmlElement;
6
7 import org.kuali.student.common.validation.dto.ValidationResultInfo.ErrorLevel;
8
9 @XmlAccessorType(XmlAccessType.FIELD)
10 public class RequiredConstraint {
11 @XmlElement
12 protected String fieldPath;
13 @XmlElement
14 protected String fieldPathMessageKey;
15 @XmlElement
16 protected ErrorLevel errorLevel = ErrorLevel.ERROR;
17
18 public String getFieldPath() {
19 return fieldPath;
20 }
21
22 public void setFieldPath(String fieldPath) {
23 this.fieldPath = fieldPath;
24 }
25
26 public ErrorLevel getErrorLevel() {
27 return errorLevel;
28 }
29
30 public void setErrorLevel(ErrorLevel errorLevel) {
31 this.errorLevel = errorLevel;
32 }
33
34 public String getFieldPathMessageId() {
35 return fieldPathMessageKey;
36 }
37
38 public void setFieldPathMessageId(String fieldPathMessageKey) {
39 this.fieldPathMessageKey = fieldPathMessageKey;
40 }
41
42 }