View Javadoc

1   /*
2    * Copyright 2011 The Kuali Foundation Licensed under the Educational Community License, Version 2.0 (the "License"); you may
3    * not use this file except in compliance with the License. You may obtain a copy of the License at
4    * http://www.osedu.org/licenses/ECL-2.0 Unless required by applicable law or agreed to in writing, software distributed
5    * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
6    * implied. See the License for the specific language governing permissions and limitations under the License.
7    */
8   package org.kuali.student.common.dto;
9   
10  import javax.xml.bind.annotation.XmlAccessType;
11  import javax.xml.bind.annotation.XmlAccessorType;
12  import javax.xml.bind.annotation.XmlElement;
13  
14  import org.kuali.student.common.infc.AttributeInfc;
15  
16  @XmlAccessorType(XmlAccessType.FIELD)
17  public class AttributeInfo implements AttributeInfc {
18  
19      @XmlElement
20      private String key;
21  
22      @XmlElement
23      private String value;
24  
25      /**
26       * @return the key
27       */
28      @Override
29      public String getKey() {
30          return key;
31      }
32  
33      /**
34       * @param key
35       *            the key to set
36       */
37      @Override
38      public void setKey(String key) {
39          this.key = key;
40      }
41  
42      /**
43       * @return the value
44       */
45      @Override
46      public String getValue() {
47          return value;
48      }
49  
50      /**
51       * @param value
52       *            the value to set
53       */
54      @Override
55      public void setValue(String value) {
56          this.value = value;
57      }
58  
59  
60  }