| 1 |  |   | 
  | 2 |  |   | 
  | 3 |  |   | 
  | 4 |  |   | 
  | 5 |  |   | 
  | 6 |  |   | 
  | 7 |  |   | 
  | 8 |  |   | 
  | 9 |  |   | 
  | 10 |  |   | 
  | 11 |  |   | 
  | 12 |  |   | 
  | 13 |  |   | 
  | 14 |  |   | 
  | 15 |  |   | 
  | 16 |  |  package org.kuali.student.core.organization.dto; | 
  | 17 |  |   | 
  | 18 |  |  import java.io.Serializable; | 
  | 19 |  |  import java.util.HashMap; | 
  | 20 |  |  import java.util.Map; | 
  | 21 |  |   | 
  | 22 |  |  import javax.xml.bind.annotation.XmlAccessType; | 
  | 23 |  |  import javax.xml.bind.annotation.XmlAccessorType; | 
  | 24 |  |  import javax.xml.bind.annotation.XmlAttribute; | 
  | 25 |  |  import javax.xml.bind.annotation.XmlElement; | 
  | 26 |  |  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; | 
  | 27 |  |   | 
  | 28 |  |  import org.kuali.student.core.dto.HasAttributes; | 
  | 29 |  |  import org.kuali.student.core.dto.Idable; | 
  | 30 |  |  import org.kuali.student.core.dto.MetaInfo; | 
  | 31 |  |  import org.kuali.student.core.dto.TimeAmountInfo; | 
  | 32 |  |  import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; | 
  | 33 |  |   | 
  | 34 |  |   | 
  | 35 |  |   | 
  | 36 |  |    | 
  | 37 |  |  @XmlAccessorType(XmlAccessType.FIELD) | 
  | 38 | 0 |  public class OrgPositionRestrictionInfo implements Serializable, Idable, HasAttributes { | 
  | 39 |  |   | 
  | 40 |  |      private static final long serialVersionUID = 1L; | 
  | 41 |  |   | 
  | 42 |  |      @XmlElement | 
  | 43 |  |      private String orgId; | 
  | 44 |  |   | 
  | 45 |  |      @XmlElement | 
  | 46 |  |      private String orgPersonRelationTypeKey; | 
  | 47 |  |   | 
  | 48 |  |      @XmlElement | 
  | 49 |  |      private String desc; | 
  | 50 |  |   | 
  | 51 |  |      @XmlElement | 
  | 52 |  |      private String title; | 
  | 53 |  |   | 
  | 54 |  |      @XmlElement | 
  | 55 |  |      private TimeAmountInfo stdDuration; | 
  | 56 |  |   | 
  | 57 |  |      @XmlElement | 
  | 58 |  |      private Integer minNumRelations; | 
  | 59 |  |   | 
  | 60 |  |      @XmlElement | 
  | 61 |  |      private String maxNumRelations; | 
  | 62 |  |   | 
  | 63 |  |      @XmlElement | 
  | 64 |  |      @XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) | 
  | 65 |  |      private Map<String, String> attributes; | 
  | 66 |  |   | 
  | 67 |  |      @XmlElement | 
  | 68 |  |      private MetaInfo metaInfo; | 
  | 69 |  |   | 
  | 70 |  |      @XmlAttribute | 
  | 71 |  |      private String id; | 
  | 72 |  |   | 
  | 73 |  |       | 
  | 74 |  |   | 
  | 75 |  |   | 
  | 76 |  |      public String getOrgId() { | 
  | 77 | 0 |          return orgId; | 
  | 78 |  |      } | 
  | 79 |  |   | 
  | 80 |  |      public void setOrgId(String orgId) { | 
  | 81 | 0 |          this.orgId = orgId; | 
  | 82 | 0 |      } | 
  | 83 |  |   | 
  | 84 |  |       | 
  | 85 |  |   | 
  | 86 |  |   | 
  | 87 |  |      public String getOrgPersonRelationTypeKey() { | 
  | 88 | 0 |          return orgPersonRelationTypeKey; | 
  | 89 |  |      } | 
  | 90 |  |   | 
  | 91 |  |      public void setOrgPersonRelationTypeKey(String orgPersonRelationTypeKey) { | 
  | 92 | 0 |          this.orgPersonRelationTypeKey = orgPersonRelationTypeKey; | 
  | 93 | 0 |      } | 
  | 94 |  |   | 
  | 95 |  |       | 
  | 96 |  |   | 
  | 97 |  |   | 
  | 98 |  |      public String getDesc() { | 
  | 99 | 0 |          return desc; | 
  | 100 |  |      } | 
  | 101 |  |   | 
  | 102 |  |      public void setDesc(String desc) { | 
  | 103 | 0 |          this.desc = desc; | 
  | 104 | 0 |      } | 
  | 105 |  |   | 
  | 106 |  |       | 
  | 107 |  |   | 
  | 108 |  |   | 
  | 109 |  |      public String getTitle() { | 
  | 110 | 0 |          return title; | 
  | 111 |  |      } | 
  | 112 |  |   | 
  | 113 |  |      public void setTitle(String title) { | 
  | 114 | 0 |          this.title = title; | 
  | 115 | 0 |      } | 
  | 116 |  |   | 
  | 117 |  |       | 
  | 118 |  |   | 
  | 119 |  |   | 
  | 120 |  |      public TimeAmountInfo getStdDuration() { | 
  | 121 | 0 |          return stdDuration; | 
  | 122 |  |      } | 
  | 123 |  |   | 
  | 124 |  |      public void setStdDuration(TimeAmountInfo stdDuration) { | 
  | 125 | 0 |          this.stdDuration = stdDuration; | 
  | 126 | 0 |      } | 
  | 127 |  |   | 
  | 128 |  |       | 
  | 129 |  |   | 
  | 130 |  |   | 
  | 131 |  |      public Integer getMinNumRelations() { | 
  | 132 | 0 |          return minNumRelations; | 
  | 133 |  |      } | 
  | 134 |  |   | 
  | 135 |  |      public void setMinNumRelations(Integer minNumRelations) { | 
  | 136 | 0 |          this.minNumRelations = minNumRelations; | 
  | 137 | 0 |      } | 
  | 138 |  |   | 
  | 139 |  |       | 
  | 140 |  |   | 
  | 141 |  |   | 
  | 142 |  |      public String getMaxNumRelations() { | 
  | 143 | 0 |          return maxNumRelations; | 
  | 144 |  |      } | 
  | 145 |  |   | 
  | 146 |  |      public void setMaxNumRelations(String maxNumRelations) { | 
  | 147 | 0 |          this.maxNumRelations = maxNumRelations; | 
  | 148 | 0 |      } | 
  | 149 |  |   | 
  | 150 |  |       | 
  | 151 |  |   | 
  | 152 |  |   | 
  | 153 |  |      public Map<String, String> getAttributes() { | 
  | 154 | 0 |          if (attributes == null) { | 
  | 155 | 0 |              attributes = new HashMap<String, String>(); | 
  | 156 |  |          } | 
  | 157 | 0 |          return attributes; | 
  | 158 |  |      } | 
  | 159 |  |   | 
  | 160 |  |      public void setAttributes(Map<String, String> attributes) { | 
  | 161 | 0 |          this.attributes = attributes; | 
  | 162 | 0 |      } | 
  | 163 |  |   | 
  | 164 |  |       | 
  | 165 |  |   | 
  | 166 |  |   | 
  | 167 |  |      public MetaInfo getMetaInfo() { | 
  | 168 | 0 |          return metaInfo; | 
  | 169 |  |      } | 
  | 170 |  |   | 
  | 171 |  |      public void setMetaInfo(MetaInfo metaInfo) { | 
  | 172 | 0 |          this.metaInfo = metaInfo; | 
  | 173 | 0 |      } | 
  | 174 |  |   | 
  | 175 |  |       | 
  | 176 |  |   | 
  | 177 |  |   | 
  | 178 |  |      public String getId() { | 
  | 179 | 0 |          return id; | 
  | 180 |  |      } | 
  | 181 |  |   | 
  | 182 |  |      public void setId(String id) { | 
  | 183 | 0 |          this.id = id; | 
  | 184 | 0 |      } | 
  | 185 |  |  } |