|  1 |     | 
     | 
  |  2 |     | 
     | 
  |  3 |     | 
     | 
  |  4 |     | 
     | 
  |  5 |     | 
     | 
  |  6 |     | 
     | 
  |  7 |     | 
     | 
  |  8 |     | 
     | 
  |  9 |     | 
     | 
  |  10 |     | 
     | 
  |  11 |     | 
     | 
  |  12 |     | 
     | 
  |  13 |     | 
     | 
  |  14 |     | 
     | 
  |  15 |     | 
   package org.kuali.student.enrollment.classI.hold.dto;  | 
  |  16 |     | 
     | 
  |  17 |     | 
   import java.io.Serializable;  | 
  |  18 |     | 
   import java.util.Date;  | 
  |  19 |     | 
   import java.util.List;  | 
  |  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 |     | 
     | 
  |  27 |     | 
   import javax.xml.bind.annotation.XmlType;  | 
  |  28 |     | 
     | 
  |  29 |     | 
   import org.kuali.student.r2.common.dto.IdEntityInfo;  | 
  |  30 |     | 
   import org.kuali.student.r2.common.infc.ModelBuilder;  | 
  |  31 |     | 
   import org.kuali.student.enrollment.classI.hold.infc.Issue;  | 
  |  32 |     | 
     | 
  |  33 |     | 
   @XmlAccessorType(XmlAccessType.FIELD)  | 
  |  34 |     | 
   @XmlType(name = "IssueInfo", propOrder = {"id", "typeKey", "stateKey", "name", "descr", "organizationId", "metaInfo", "attributes", "_futureElements"}) | 
  |  35 |     | 
     | 
  |  36 |     | 
   public class IssueInfo extends IdEntityInfo implements Issue, Serializable { | 
  |  37 |     | 
       private static final long serialVersionUID = 1L;  | 
  |  38 |     | 
     | 
  |  39 |     | 
       @XmlElement  | 
  |  40 |     | 
       private final String organizationId;  | 
  |  41 |     | 
     | 
  |  42 |     | 
       @XmlAnyElement  | 
  |  43 |     | 
       private final List<Element> _futureElements;  | 
  |  44 |     | 
     | 
  |  45 |    0 |        private IssueInfo() { | 
  |  46 |    0 |            organizationId = null;  | 
  |  47 |    0 |            _futureElements = null;  | 
  |  48 |    0 |        }  | 
  |  49 |     | 
     | 
  |  50 |     | 
         | 
  |  51 |     | 
     | 
  |  52 |     | 
     | 
  |  53 |     | 
     | 
  |  54 |     | 
     | 
  |  55 |     | 
       public IssueInfo(Issue issue) { | 
  |  56 |    0 |            super(issue);  | 
  |  57 |    0 |            this.organizationId = issue.getOrganizationId();  | 
  |  58 |    0 |            _futureElements = null;  | 
  |  59 |    0 |        }  | 
  |  60 |     | 
     | 
  |  61 |     | 
       @Override  | 
  |  62 |     | 
       public String getOrganizationId() { | 
  |  63 |    0 |            return organizationId;  | 
  |  64 |     | 
       }  | 
  |  65 |     | 
     | 
  |  66 |     | 
     | 
  |  67 |     | 
         | 
  |  68 |     | 
     | 
  |  69 |     | 
     | 
  |  70 |    0 |        public static class Builder extends IdEntityInfo.Builder implements ModelBuilder<IssueInfo>, Issue { | 
  |  71 |     | 
     | 
  |  72 |     | 
           private String organizationId;  | 
  |  73 |     | 
     | 
  |  74 |     | 
             | 
  |  75 |     | 
     | 
  |  76 |     | 
     | 
  |  77 |    0 |            public Builder() { | 
  |  78 |    0 |            }  | 
  |  79 |     | 
     | 
  |  80 |     | 
             | 
  |  81 |     | 
     | 
  |  82 |     | 
     | 
  |  83 |     | 
     | 
  |  84 |     | 
           public Builder(Issue issue) { | 
  |  85 |    0 |                super(issue);  | 
  |  86 |    0 |                this.organizationId = issue.getOrganizationId();  | 
  |  87 |    0 |            }  | 
  |  88 |     | 
     | 
  |  89 |     | 
           @Override  | 
  |  90 |     | 
           public IssueInfo build() { | 
  |  91 |    0 |                return new IssueInfo(this);  | 
  |  92 |     | 
           }  | 
  |  93 |     | 
     | 
  |  94 |     | 
           @Override  | 
  |  95 |     | 
           public String getOrganizationId() { | 
  |  96 |    0 |                return organizationId;  | 
  |  97 |     | 
           }  | 
  |  98 |     | 
     | 
  |  99 |     | 
           public void setOrganizationId(String organizationId) { | 
  |  100 |    0 |                this.organizationId = organizationId;  | 
  |  101 |    0 |            }  | 
  |  102 |     | 
       }  | 
  |  103 |     | 
   }  |