| 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 | 0 |  public class RequiredConstraint { | 
  | 11 |  |          @XmlElement | 
  | 12 |  |      protected String fieldPath; | 
  | 13 |  |          @XmlElement | 
  | 14 |  |      protected String fieldPathMessageKey;         | 
  | 15 | 0 |          @XmlElement | 
  | 16 |  |          protected ErrorLevel errorLevel = ErrorLevel.ERROR; | 
  | 17 |  |   | 
  | 18 |  |          public String getFieldPath() { | 
  | 19 | 0 |                  return fieldPath; | 
  | 20 |  |          } | 
  | 21 |  |   | 
  | 22 |  |          public void setFieldPath(String fieldPath) { | 
  | 23 | 0 |                  this.fieldPath = fieldPath; | 
  | 24 | 0 |          } | 
  | 25 |  |   | 
  | 26 |  |          public ErrorLevel getErrorLevel() { | 
  | 27 | 0 |                  return errorLevel; | 
  | 28 |  |          } | 
  | 29 |  |   | 
  | 30 |  |          public void setErrorLevel(ErrorLevel errorLevel) { | 
  | 31 | 0 |                  this.errorLevel = errorLevel; | 
  | 32 | 0 |          } | 
  | 33 |  |   | 
  | 34 |  |          public String getFieldPathMessageId() { | 
  | 35 | 0 |                  return fieldPathMessageKey; | 
  | 36 |  |          } | 
  | 37 |  |   | 
  | 38 |  |          public void setFieldPathMessageId(String fieldPathMessageKey) { | 
  | 39 | 0 |                  this.fieldPathMessageKey = fieldPathMessageKey; | 
  | 40 | 0 |          } | 
  | 41 |  |                   | 
  | 42 |  |  } |