| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
package org.kuali.student.r2.core.hold.dto; |
| 16 | |
|
| 17 | |
import java.io.Serializable; |
| 18 | |
import java.util.List; |
| 19 | |
|
| 20 | |
import javax.xml.bind.annotation.XmlAccessType; |
| 21 | |
import javax.xml.bind.annotation.XmlAccessorType; |
| 22 | |
import javax.xml.bind.annotation.XmlAnyElement; |
| 23 | |
import javax.xml.bind.annotation.XmlElement; |
| 24 | |
import javax.xml.bind.annotation.XmlType; |
| 25 | |
|
| 26 | |
import org.kuali.student.r2.common.dto.IdEntityInfo; |
| 27 | |
import org.kuali.student.r2.core.hold.infc.Issue; |
| 28 | |
import org.w3c.dom.Element; |
| 29 | |
|
| 30 | |
@XmlAccessorType(XmlAccessType.FIELD) |
| 31 | |
@XmlType(name = "IssueInfo", propOrder = { |
| 32 | |
"id", "typeKey", "stateKey", "name", |
| 33 | |
"descr", "organizationId", "meta", |
| 34 | |
"attributes", "_futureElements"}) |
| 35 | |
public class IssueInfo extends IdEntityInfo implements Issue, Serializable { |
| 36 | |
|
| 37 | |
private static final long serialVersionUID = 1L; |
| 38 | |
@XmlElement |
| 39 | |
private String organizationId; |
| 40 | |
@XmlAnyElement |
| 41 | |
private List<Element> _futureElements; |
| 42 | |
|
| 43 | 0 | public IssueInfo() { |
| 44 | 0 | } |
| 45 | |
|
| 46 | |
|
| 47 | |
|
| 48 | |
|
| 49 | |
|
| 50 | |
|
| 51 | |
public IssueInfo(Issue issue) { |
| 52 | 0 | super(issue); |
| 53 | 0 | if (null != issue) { |
| 54 | 0 | this.organizationId = issue.getOrganizationId(); |
| 55 | |
} |
| 56 | 0 | } |
| 57 | |
|
| 58 | |
@Override |
| 59 | |
public String getOrganizationId() { |
| 60 | 0 | return organizationId; |
| 61 | |
} |
| 62 | |
|
| 63 | |
public void setOrganizationId(String orgId) { |
| 64 | 0 | this.organizationId = orgId; |
| 65 | 0 | } |
| 66 | |
} |