1 package org.kuali.student.r1.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.r2.common.infc.ValidationResult.ErrorLevel;
8
9 @Deprecated
10 @XmlAccessorType(XmlAccessType.FIELD)
11 public class RequiredConstraint {
12 @XmlElement
13 protected String fieldPath;
14 @XmlElement
15 protected String fieldPathMessageKey;
16 @XmlElement
17 protected ErrorLevel errorLevel = ErrorLevel.ERROR;
18
19 public String getFieldPath() {
20 return fieldPath;
21 }
22
23 public void setFieldPath(String fieldPath) {
24 this.fieldPath = fieldPath;
25 }
26
27 public ErrorLevel getErrorLevel() {
28 return errorLevel;
29 }
30
31 public void setErrorLevel(ErrorLevel errorLevel) {
32 this.errorLevel = errorLevel;
33 }
34
35 public String getFieldPathMessageId() {
36 return fieldPathMessageKey;
37 }
38
39 public void setFieldPathMessageId(String fieldPathMessageKey) {
40 this.fieldPathMessageKey = fieldPathMessageKey;
41 }
42
43 }