Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
LuiPersonRelationStateInfo |
|
| 1.0;1 | ||||
LuiPersonRelationStateInfo$1 |
|
| 1.0;1 | ||||
LuiPersonRelationStateInfo$Builder |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright 2009 The Kuali Foundation | |
3 | * | |
4 | * Licensed under the Educational Community License, Version 1.0 (the "License"); | |
5 | * you may not use this file except in compliance with the License. | |
6 | * You may obtain a copy of the License at | |
7 | * | |
8 | * http://www.opensource.org/licenses/ecl1.php | |
9 | * | |
10 | * Unless required by applicable law or agreed to in writing, software | |
11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
13 | * See the License for the specific language governing permissions and | |
14 | * limitations under the License. | |
15 | */ | |
16 | package org.kuali.student.enrollment.lpr.dto; | |
17 | ||
18 | import javax.xml.bind.annotation.XmlAccessType; | |
19 | import javax.xml.bind.annotation.XmlAccessorType; | |
20 | ||
21 | import org.kuali.student.common.dto.StateInfo; | |
22 | import org.kuali.student.enrollment.lpr.infc.LuiPersonRelationStateInfc; | |
23 | ||
24 | /** | |
25 | * Unique identifier for the state of the relationship between a LUI and person. | |
26 | * | |
27 | * @Author Kamal | |
28 | * @Since Tue Mar 01 15:53:56 PST 2011 | |
29 | * @See <a href="https://wiki.kuali.org/display/KULSTU/relationState+Structure">RelationState</a> | |
30 | */ | |
31 | @XmlAccessorType(XmlAccessType.FIELD) | |
32 | 0 | public final class LuiPersonRelationStateInfo extends StateInfo implements LuiPersonRelationStateInfc { |
33 | ||
34 | private static final long serialVersionUID = 8428568906806883779L; | |
35 | ||
36 | 0 | private LuiPersonRelationStateInfo() {} |
37 | ||
38 | private LuiPersonRelationStateInfo(LuiPersonRelationStateInfc builder) { | |
39 | 0 | super(builder); |
40 | 0 | } |
41 | ||
42 | public static class Builder extends StateInfo.Builder implements LuiPersonRelationStateInfc { | |
43 | 0 | public Builder() {} |
44 | ||
45 | public Builder(LuiPersonRelationStateInfc lprStateInfo) { | |
46 | 0 | super(lprStateInfo); |
47 | 0 | } |
48 | public LuiPersonRelationStateInfo build() { | |
49 | 0 | return new LuiPersonRelationStateInfo(this); |
50 | } | |
51 | } | |
52 | ||
53 | } |