Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
AffiliatedOrgInfo |
|
| 1.0;1 |
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.lum.lu.dto; | |
17 | ||
18 | import java.io.Serializable; | |
19 | import java.util.Date; | |
20 | ||
21 | import javax.xml.bind.annotation.XmlAccessType; | |
22 | import javax.xml.bind.annotation.XmlAccessorType; | |
23 | import javax.xml.bind.annotation.XmlAttribute; | |
24 | import javax.xml.bind.annotation.XmlElement; | |
25 | ||
26 | /** | |
27 | * Information about an organization that is affiliated in some percentage with a learning unit. For when precision is needed to support counts or dollars. | |
28 | * | |
29 | * @Author KSContractMojo | |
30 | * @Author Kamal | |
31 | * @Since Mon Jan 11 15:21:05 PST 2010 | |
32 | * @See <a href="https://test.kuali.org/confluence/display/KULSTU/affiliatedOrgInfo+Structure">AffiliatedOrgInfo</> | |
33 | * | |
34 | */ | |
35 | @XmlAccessorType(XmlAccessType.FIELD) | |
36 | 0 | public class AffiliatedOrgInfo implements Serializable { |
37 | ||
38 | private static final long serialVersionUID = 1L; | |
39 | ||
40 | @XmlAttribute | |
41 | private String id; | |
42 | ||
43 | @XmlElement | |
44 | private String orgId; | |
45 | ||
46 | @XmlElement | |
47 | private Date effectiveDate; | |
48 | ||
49 | @XmlElement | |
50 | private Date expirationDate; | |
51 | ||
52 | @XmlElement | |
53 | private Long percentage; | |
54 | ||
55 | /** | |
56 | * Unique identifier for an organization. | |
57 | */ | |
58 | public String getOrgId() { | |
59 | 0 | return orgId; |
60 | } | |
61 | ||
62 | public void setOrgId(String orgId) { | |
63 | 0 | this.orgId = orgId; |
64 | 0 | } |
65 | ||
66 | /** | |
67 | * Specifies a date with no time component. | |
68 | */ | |
69 | public Date getEffectiveDate() { | |
70 | 0 | return effectiveDate; |
71 | } | |
72 | ||
73 | public void setEffectiveDate(Date effectiveDate) { | |
74 | 0 | this.effectiveDate = effectiveDate; |
75 | 0 | } |
76 | ||
77 | /** | |
78 | * Specifies a date with no time component. | |
79 | */ | |
80 | public Date getExpirationDate() { | |
81 | 0 | return expirationDate; |
82 | } | |
83 | ||
84 | public void setExpirationDate(Date expirationDate) { | |
85 | 0 | this.expirationDate = expirationDate; |
86 | 0 | } |
87 | ||
88 | /** | |
89 | * A long numeric value without a fractional component. | |
90 | */ | |
91 | public Long getPercentage() { | |
92 | 0 | return percentage; |
93 | } | |
94 | ||
95 | public void setPercentage(Long percentage) { | |
96 | 0 | this.percentage = percentage; |
97 | 0 | } |
98 | ||
99 | public String getId() { | |
100 | 0 | return id; |
101 | } | |
102 | ||
103 | public void setId(String id) { | |
104 | 0 | this.id = id; |
105 | 0 | } |
106 | } |