| 1 |  |   | 
  | 2 |  |   | 
  | 3 |  |   | 
  | 4 |  |   | 
  | 5 |  |   | 
  | 6 |  |   | 
  | 7 |  |   | 
  | 8 |  |   | 
  | 9 |  |   | 
  | 10 |  |   | 
  | 11 |  |   | 
  | 12 |  |   | 
  | 13 |  |   | 
  | 14 |  |   | 
  | 15 |  |   | 
  | 16 |  |  package org.kuali.student.lum.lo.dto; | 
  | 17 |  |   | 
  | 18 |  |  import java.io.Serializable; | 
  | 19 |  |  import java.util.Date; | 
  | 20 |  |  import java.util.HashMap; | 
  | 21 |  |  import java.util.Map; | 
  | 22 |  |   | 
  | 23 |  |  import javax.xml.bind.annotation.XmlAccessType; | 
  | 24 |  |  import javax.xml.bind.annotation.XmlAccessorType; | 
  | 25 |  |  import javax.xml.bind.annotation.XmlAttribute; | 
  | 26 |  |  import javax.xml.bind.annotation.XmlElement; | 
  | 27 |  |  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; | 
  | 28 |  |   | 
  | 29 |  |  import org.kuali.student.core.dto.HasAttributes; | 
  | 30 |  |  import org.kuali.student.core.dto.Idable; | 
  | 31 |  |  import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; | 
  | 32 |  |   | 
  | 33 |  |   | 
  | 34 |  |   | 
  | 35 |  |   | 
  | 36 |  |   | 
  | 37 |  |   | 
  | 38 |  |   | 
  | 39 |  |   | 
  | 40 |  |   | 
  | 41 |  |   | 
  | 42 |  |  @XmlAccessorType(XmlAccessType.FIELD) | 
  | 43 | 0 |  public class LoLoRelationTypeInfo implements Serializable, Idable, HasAttributes { | 
  | 44 |  |   | 
  | 45 |  |      private static final long serialVersionUID = 1L; | 
  | 46 |  |   | 
  | 47 |  |      @XmlElement | 
  | 48 |  |      private String name; | 
  | 49 |  |   | 
  | 50 |  |      @XmlElement | 
  | 51 |  |      private String desc; | 
  | 52 |  |   | 
  | 53 |  |      @XmlElement | 
  | 54 |  |      private String revName; | 
  | 55 |  |   | 
  | 56 |  |      @XmlElement | 
  | 57 |  |      private String revDesc; | 
  | 58 |  |   | 
  | 59 |  |      @XmlElement | 
  | 60 |  |      private Date effectiveDate; | 
  | 61 |  |   | 
  | 62 |  |      @XmlElement | 
  | 63 |  |      private Date expirationDate; | 
  | 64 |  |   | 
  | 65 |  |      @XmlElement | 
  | 66 |  |      @XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) | 
  | 67 |  |      private Map<String, String> attributes; | 
  | 68 |  |   | 
  | 69 |  |      @XmlAttribute(name="key") | 
  | 70 |  |      private String id; | 
  | 71 |  |   | 
  | 72 |  |       | 
  | 73 |  |   | 
  | 74 |  |   | 
  | 75 |  |      public String getName() { | 
  | 76 | 0 |          return name; | 
  | 77 |  |      } | 
  | 78 |  |   | 
  | 79 |  |      public void setName(String name) { | 
  | 80 | 0 |          this.name = name; | 
  | 81 | 0 |      } | 
  | 82 |  |   | 
  | 83 |  |       | 
  | 84 |  |   | 
  | 85 |  |   | 
  | 86 |  |      public String getDesc() { | 
  | 87 | 0 |          return desc; | 
  | 88 |  |      } | 
  | 89 |  |   | 
  | 90 |  |      public void setDesc(String desc) { | 
  | 91 | 0 |          this.desc = desc; | 
  | 92 | 0 |      } | 
  | 93 |  |   | 
  | 94 |  |       | 
  | 95 |  |   | 
  | 96 |  |   | 
  | 97 |  |      public String getRevName() { | 
  | 98 | 0 |          return revName; | 
  | 99 |  |      } | 
  | 100 |  |   | 
  | 101 |  |      public void setRevName(String revName) { | 
  | 102 | 0 |          this.revName = revName; | 
  | 103 | 0 |      } | 
  | 104 |  |   | 
  | 105 |  |       | 
  | 106 |  |   | 
  | 107 |  |   | 
  | 108 |  |      public String getRevDesc() { | 
  | 109 | 0 |          return revDesc; | 
  | 110 |  |      } | 
  | 111 |  |   | 
  | 112 |  |      public void setRevDesc(String revDesc) { | 
  | 113 | 0 |          this.revDesc = revDesc; | 
  | 114 | 0 |      } | 
  | 115 |  |   | 
  | 116 |  |       | 
  | 117 |  |   | 
  | 118 |  |   | 
  | 119 |  |      public Date getEffectiveDate() { | 
  | 120 | 0 |          return effectiveDate; | 
  | 121 |  |      } | 
  | 122 |  |   | 
  | 123 |  |      public void setEffectiveDate(Date effectiveDate) { | 
  | 124 | 0 |          this.effectiveDate = effectiveDate; | 
  | 125 | 0 |      } | 
  | 126 |  |   | 
  | 127 |  |       | 
  | 128 |  |   | 
  | 129 |  |   | 
  | 130 |  |      public Date getExpirationDate() { | 
  | 131 | 0 |          return expirationDate; | 
  | 132 |  |      } | 
  | 133 |  |   | 
  | 134 |  |      public void setExpirationDate(Date expirationDate) { | 
  | 135 | 0 |          this.expirationDate = expirationDate; | 
  | 136 | 0 |      } | 
  | 137 |  |   | 
  | 138 |  |       | 
  | 139 |  |   | 
  | 140 |  |   | 
  | 141 |  |      public Map<String, String> getAttributes() { | 
  | 142 | 0 |          if (attributes == null) { | 
  | 143 | 0 |              attributes = new HashMap<String, String>(); | 
  | 144 |  |          } | 
  | 145 | 0 |          return attributes; | 
  | 146 |  |      } | 
  | 147 |  |   | 
  | 148 |  |      public void setAttributes(Map<String, String> attributes) { | 
  | 149 | 0 |          this.attributes = attributes; | 
  | 150 | 0 |      } | 
  | 151 |  |   | 
  | 152 |  |       | 
  | 153 |  |   | 
  | 154 |  |   | 
  | 155 |  |      public String getId() { | 
  | 156 | 0 |          return id; | 
  | 157 |  |      } | 
  | 158 |  |   | 
  | 159 |  |      public void setId(String id) { | 
  | 160 | 0 |          this.id = id; | 
  | 161 | 0 |      } | 
  | 162 |  |  } |