View Javadoc

1   /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
14   */
15  
16  package org.kuali.student.core.statement.entity;
17  
18  import javax.persistence.Column;
19  import javax.persistence.Entity;
20  import javax.persistence.Table;
21  
22  import org.kuali.student.common.entity.BaseEntity;
23  
24  @Entity
25  @Table(name="KSST_REQ_COM_FIELD")
26  public class ReqComponentField extends BaseEntity{
27  
28      @Column(name="REQ_COM_FIELD_TYPE")
29      private String type;
30  
31      @Column(name="VALUE")
32      private String value;
33     
34      public String getType() {
35          return type;
36      }
37  
38      public void setType(String type) {
39          this.type = type;
40      }
41  
42      public String getValue() {
43          return value;
44      }
45  
46      public void setValue(String value) {
47          this.value = value;
48      }
49  
50  	@Override
51  	public String toString() {
52  		return "ReqComponentField[id=" + getId() + ", type=" + type + ", value="
53  				+ value + "]";
54  	}
55  }