| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
|
| 17 | |
package org.kuali.student.r2.core.organization.dto; |
| 18 | |
|
| 19 | |
import java.io.Serializable; |
| 20 | |
import java.util.List; |
| 21 | |
|
| 22 | |
import javax.xml.bind.annotation.XmlAccessType; |
| 23 | |
import javax.xml.bind.annotation.XmlAccessorType; |
| 24 | |
import javax.xml.bind.annotation.XmlAnyElement; |
| 25 | |
import javax.xml.bind.annotation.XmlElement; |
| 26 | |
import javax.xml.bind.annotation.XmlType; |
| 27 | |
|
| 28 | |
import org.kuali.student.r2.core.organization.infc.OrgPersonRelation; |
| 29 | |
import org.kuali.student.r2.common.dto.RelationshipInfo; |
| 30 | |
import org.w3c.dom.Element; |
| 31 | |
|
| 32 | |
|
| 33 | |
|
| 34 | |
|
| 35 | |
|
| 36 | |
|
| 37 | |
@XmlAccessorType(XmlAccessType.FIELD) |
| 38 | |
@XmlType(name = "OrgPersonRelationInfo", propOrder = { |
| 39 | |
"id", "typeKey", "stateKey", |
| 40 | |
"orgId", "personId", |
| 41 | |
"effectiveDate", "expirationDate", |
| 42 | |
"meta", "attributes", "_futureElements" }) |
| 43 | |
|
| 44 | |
public class OrgPersonRelationInfo |
| 45 | |
extends RelationshipInfo |
| 46 | |
implements OrgPersonRelation, Serializable { |
| 47 | |
|
| 48 | |
private static final long serialVersionUID = 1L; |
| 49 | |
|
| 50 | |
@XmlElement |
| 51 | |
private String orgId; |
| 52 | |
|
| 53 | |
@XmlElement |
| 54 | |
private String personId; |
| 55 | |
|
| 56 | |
@XmlAnyElement |
| 57 | |
private List<Element> _futureElements; |
| 58 | |
|
| 59 | |
|
| 60 | |
|
| 61 | |
|
| 62 | |
|
| 63 | 0 | public OrgPersonRelationInfo() { |
| 64 | 0 | } |
| 65 | |
|
| 66 | |
|
| 67 | |
|
| 68 | |
|
| 69 | |
|
| 70 | |
|
| 71 | |
|
| 72 | |
public OrgPersonRelationInfo(OrgPersonRelation orgPersonRelation) { |
| 73 | 0 | super(orgPersonRelation); |
| 74 | |
|
| 75 | 0 | if (orgPersonRelation != null) { |
| 76 | 0 | this.orgId = orgPersonRelation.getOrgId(); |
| 77 | 0 | this.personId = orgPersonRelation.getPersonId(); |
| 78 | |
} |
| 79 | 0 | } |
| 80 | |
|
| 81 | |
@Override |
| 82 | |
public String getOrgId() { |
| 83 | 0 | return orgId; |
| 84 | |
} |
| 85 | |
|
| 86 | |
public void setOrgId(String orgId) { |
| 87 | 0 | this.orgId = orgId; |
| 88 | 0 | } |
| 89 | |
|
| 90 | |
@Override |
| 91 | |
public String getPersonId() { |
| 92 | 0 | return personId; |
| 93 | |
} |
| 94 | |
|
| 95 | |
public void setPersonId(String personId) { |
| 96 | 0 | this.personId = personId; |
| 97 | 0 | } |
| 98 | |
} |