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