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.entity;
17  
18  import javax.persistence.Column;
19  import javax.persistence.Embeddable;
20  
21  @Embeddable
22  public class TimeAmount {
23  
24  	@Column(name="ATP_DUR_TYP_KEY")
25  	private String atpDurationTypeKey;
26  	
27  	@Column(name="TM_QUANTITY")
28  	private Integer timeQuantity;
29  	
30  	public String getAtpDurationTypeKey() {
31  		return atpDurationTypeKey;
32  	}
33  	public void setAtpDurationTypeKey(String atpDurationTypeKey) {
34  		this.atpDurationTypeKey = atpDurationTypeKey;
35  	}
36  	public Integer getTimeQuantity() {
37  		return timeQuantity;
38  	}
39  	public void setTimeQuantity(Integer timeQuantity) {
40  		this.timeQuantity = timeQuantity;
41  	}
42  }