1 package org.kuali.student.core.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 8 @XmlAccessorType(XmlAccessType.FIELD) 9 public class BaseConstraint { 10 @XmlElement 11 protected String labelKey; // Label key will map to a message... for a field 12 // there can be multiple contexts for the 13 // label... a help context, a description 14 // context, and a field label context for 15 // example 16 17 public String getLabelKey() { 18 return labelKey; 19 } 20 21 public void setLabelKey(String labelKey) { 22 this.labelKey = labelKey; 23 } 24 }