001package org.kuali.student.r1.common.dictionary.dto; 002 003import javax.xml.bind.annotation.XmlAccessType; 004import javax.xml.bind.annotation.XmlAccessorType; 005import javax.xml.bind.annotation.XmlElement; 006 007import org.kuali.student.r2.common.infc.ValidationResult.ErrorLevel; 008 009@Deprecated 010@XmlAccessorType(XmlAccessType.FIELD) 011public class RequiredConstraint { 012 @XmlElement 013 protected String fieldPath; 014 @XmlElement 015 protected String fieldPathMessageKey; 016 @XmlElement 017 protected ErrorLevel errorLevel = ErrorLevel.ERROR; 018 019 public String getFieldPath() { 020 return fieldPath; 021 } 022 023 public void setFieldPath(String fieldPath) { 024 this.fieldPath = fieldPath; 025 } 026 027 public ErrorLevel getErrorLevel() { 028 return errorLevel; 029 } 030 031 public void setErrorLevel(ErrorLevel errorLevel) { 032 this.errorLevel = errorLevel; 033 } 034 035 public String getFieldPathMessageId() { 036 return fieldPathMessageKey; 037 } 038 039 public void setFieldPathMessageId(String fieldPathMessageKey) { 040 this.fieldPathMessageKey = fieldPathMessageKey; 041 } 042 043}