1
2
3
4
5
6
7
8
9
10
11
12 package org.kuali.student.r2.lum.lo.dto;
13
14 import java.io.Serializable;
15 import java.util.List;
16
17 import javax.xml.bind.annotation.XmlAccessType;
18 import javax.xml.bind.annotation.XmlAccessorType;
19 import javax.xml.bind.annotation.XmlElement;
20 import javax.xml.bind.annotation.XmlType;
21
22 import org.kuali.student.r2.common.dto.RelationshipInfo;
23 import org.kuali.student.r2.lum.lo.infc.LoLoRelation;
24
25 @XmlType(name = "LoLoRelationInfo", propOrder = {"id", "typeKey", "stateKey", "loId", "relatedLoId", "effectiveDate", "expirationDate", "meta", "attributes" , "_futureElements" })
26 @XmlAccessorType(XmlAccessType.FIELD)
27 public class LoLoRelationInfo extends RelationshipInfo implements LoLoRelation, Serializable {
28
29 private static final long serialVersionUID = 1L;
30
31 @XmlElement
32 private String loId;
33
34 @XmlElement
35 private String relatedLoId;
36
37 @XmlElement
38 private List<Object>_futureElements;
39
40 public LoLoRelationInfo() {
41
42 }
43
44 public LoLoRelationInfo(LoLoRelation loLoRelation) {
45 super(loLoRelation);
46 if (loLoRelation != null) {
47 this.loId = loLoRelation.getLoId();
48 this.relatedLoId = loLoRelation.getRelatedLoId();
49
50 }
51 }
52
53 @Override
54 public String getLoId() {
55 return loId;
56 }
57
58 public void setLoId(String loId) {
59 this.loId = loId;
60 }
61
62 @Override
63 public String getRelatedLoId() {
64 return relatedLoId;
65 }
66
67 public void setRelatedLoId(String relatedLoId) {
68 this.relatedLoId = relatedLoId;
69 }
70
71 }