| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
package org.kuali.student.r2.core.scheduling.dto; |
| 17 | |
|
| 18 | |
import org.kuali.student.r2.common.dto.IdEntityInfo; |
| 19 | |
import org.kuali.student.r2.core.scheduling.infc.ScheduleBatch; |
| 20 | |
import org.w3c.dom.Element; |
| 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 | |
import java.io.Serializable; |
| 28 | |
import java.util.List; |
| 29 | |
|
| 30 | |
|
| 31 | |
|
| 32 | |
|
| 33 | |
|
| 34 | |
@XmlAccessorType(XmlAccessType.FIELD) |
| 35 | |
@XmlType(name = "ScheduleBatchInfo", propOrder = {"id", "typeKey", "stateKey", "name", "descr", |
| 36 | |
"requestingPersonId", "orgId", |
| 37 | |
"meta", "attributes", "_futureElements"}) |
| 38 | |
public class ScheduleBatchInfo extends IdEntityInfo implements ScheduleBatch, Serializable { |
| 39 | |
|
| 40 | |
@XmlElement |
| 41 | |
private String requestingPersonId; |
| 42 | |
@XmlElement |
| 43 | |
private String orgId; |
| 44 | |
@XmlAnyElement |
| 45 | |
private List<Element> _futureElements; |
| 46 | |
|
| 47 | 0 | public ScheduleBatchInfo() { |
| 48 | 0 | } |
| 49 | |
|
| 50 | 0 | public ScheduleBatchInfo(ScheduleBatch ScheduleBatch) { |
| 51 | 0 | if (null != ScheduleBatch) { |
| 52 | 0 | this.requestingPersonId = ScheduleBatch.getRequestingPersonId(); |
| 53 | 0 | this.orgId = ScheduleBatch.getOrgId(); |
| 54 | |
} |
| 55 | 0 | } |
| 56 | |
|
| 57 | |
@Override |
| 58 | |
public String getOrgId() { |
| 59 | 0 | return this.orgId; |
| 60 | |
} |
| 61 | |
|
| 62 | |
public void setOrgId(String orgId) { |
| 63 | 0 | this.orgId = orgId; |
| 64 | 0 | } |
| 65 | |
|
| 66 | |
@Override |
| 67 | |
public String getRequestingPersonId() { |
| 68 | 0 | return this.requestingPersonId; |
| 69 | |
} |
| 70 | |
|
| 71 | |
public void setRequestingPersonId(String requestingPersonId) { |
| 72 | 0 | this.requestingPersonId = requestingPersonId; |
| 73 | 0 | } |
| 74 | |
} |