Coverage Report - org.kuali.student.enrollment.classI.lrr.dto.LearningResultRecordInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
LearningResultRecordInfo
0%
0/41
0%
0/4
1.083
 
 1  
 /*
 2  
  * Copyright 2009 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 1.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl1.php
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.student.enrollment.classI.lrr.dto;
 17  
 
 18  
 import java.io.Serializable;
 19  
 import java.util.ArrayList;
 20  
 import java.util.Date;
 21  
 import java.util.HashMap;
 22  
 import java.util.List;
 23  
 import java.util.Map;
 24  
 
 25  
 import javax.xml.bind.annotation.XmlAccessType;
 26  
 import javax.xml.bind.annotation.XmlAccessorType;
 27  
 import javax.xml.bind.annotation.XmlAttribute;
 28  
 import javax.xml.bind.annotation.XmlElement;
 29  
 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
 30  
 
 31  
 import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter;
 32  
 
 33  
 
 34  
 
 35  
 /**
 36  
  * Information about the Learning Result Record Info.
 37  
  *
 38  
  * @Author KSContractMojo
 39  
  * @Author sambit
 40  
  * @Since Wed May 04 15:34:13 PDT 2011
 41  
  * @See <a href="https://wiki.kuali.org/display/KULSTU/learningResultRecordInfo+Structure">LearningResultRecordInfo</a>
 42  
  *
 43  
  */
 44  
 @XmlAccessorType(XmlAccessType.FIELD)
 45  0
 public class LearningResultRecordInfo implements Serializable {
 46  
 
 47  
     private static final long serialVersionUID = 1L;
 48  
 
 49  
     @XmlElement
 50  
     private String personId;
 51  
 
 52  
     @XmlElement
 53  
     private String luiId;
 54  
 
 55  
     @XmlElement
 56  
     private String lprType;
 57  
 
 58  
     @XmlAttribute
 59  
     private String resultUsageTypeKey;
 60  
 
 61  
     @XmlElement
 62  
     private String resultComponentId;
 63  
 
 64  
     @XmlElement
 65  
     private String resultId;
 66  
 
 67  
     @XmlElement
 68  
     private String atpKey;
 69  
 
 70  
     @XmlElement
 71  
     private String lprId;
 72  
 
 73  
     @XmlElement
 74  
     private List<SourceInfo> sourceInfoList;
 75  
 
 76  
     @XmlAttribute
 77  
     private String state;
 78  
 
 79  
     @XmlElement
 80  
     @XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class)
 81  
     private Map<String, String> attributes;
 82  
 
 83  
 
 84  
 
 85  
     @XmlAttribute
 86  
     private String id;
 87  
 
 88  
     /**
 89  
      * person Identifier
 90  
      */
 91  
     public String getPersonId() {
 92  0
         return personId;
 93  
     }
 94  
 
 95  
     public void setPersonId(String personId) {
 96  0
         this.personId = personId;
 97  0
     }
 98  
 
 99  
     /**
 100  
      * Any finite sequence of characters with letters, numerals, symbols and punctuation marks. The length can be any natural number between zero or any positive integer.
 101  
      */
 102  
     public String getLuiId() {
 103  0
         return luiId;
 104  
     }
 105  
 
 106  
     public void setLuiId(String luiId) {
 107  0
         this.luiId = luiId;
 108  0
     }
 109  
 
 110  
     /**
 111  
      * Any finite sequence of characters with letters, numerals, symbols and punctuation marks. The length can be any natural number between zero or any positive integer.
 112  
      */
 113  
     public String getLprType() {
 114  0
         return lprType;
 115  
     }
 116  
 
 117  
     public void setLprType(String lprType) {
 118  0
         this.lprType = lprType;
 119  0
     }
 120  
 
 121  
     /**
 122  
      * Unique identifier for a result usage type. This is immutable once set.
 123  
      */
 124  
     public String getResultUsageTypeKey() {
 125  0
         return resultUsageTypeKey;
 126  
     }
 127  
 
 128  
     public void setResultUsageTypeKey(String resultUsageTypeKey) {
 129  0
         this.resultUsageTypeKey = resultUsageTypeKey;
 130  0
     }
 131  
 
 132  
     /**
 133  
      * Unique identifier for a result component.
 134  
      */
 135  
     public String getResultComponentId() {
 136  0
         return resultComponentId;
 137  
     }
 138  
 
 139  
     public void setResultComponentId(String resultComponentId) {
 140  0
         this.resultComponentId = resultComponentId;
 141  0
     }
 142  
 
 143  
     /**
 144  
      * The page resultId Structure does not exist.
 145  
      */
 146  
     public String getResultId() {
 147  0
         return resultId;
 148  
     }
 149  
 
 150  
     public void setResultId(String resultId) {
 151  0
         this.resultId = resultId;
 152  0
     }
 153  
 
 154  
     /**
 155  
      * Unique identifier for an Academic Time Period (ATP).
 156  
      */
 157  
     public String getAtpKey() {
 158  0
         return atpKey;
 159  
     }
 160  
 
 161  
     public void setAtpKey(String atpKey) {
 162  0
         this.atpKey = atpKey;
 163  0
     }
 164  
 
 165  
     /**
 166  
      * Any finite sequence of characters with letters, numerals, symbols and punctuation marks. The length can be any natural number between zero or any positive integer.
 167  
      */
 168  
     public String getLprId() {
 169  0
         return lprId;
 170  
     }
 171  
 
 172  
     public void setLprId(String lprId) {
 173  0
         this.lprId = lprId;
 174  0
     }
 175  
 
 176  
     /**
 177  
      * List of Sources.
 178  
      */
 179  
     public List<SourceInfo> getSourceInfoList() {
 180  0
         if (sourceInfoList == null) {
 181  0
             sourceInfoList = new ArrayList<SourceInfo>(0);
 182  
         }
 183  0
         return sourceInfoList;
 184  
     }
 185  
 
 186  
     public void setSourceInfoList(List<SourceInfo> sourceInfoList) {
 187  0
         this.sourceInfoList = sourceInfoList;
 188  0
     }
 189  
 
 190  
     /**
 191  
      * The current status of the Learning Result Record. A separate setup operation does not exist for retrieval of the meta data around this value.
 192  
      */
 193  
     public String getState() {
 194  0
         return state;
 195  
     }
 196  
 
 197  
     public void setState(String state) {
 198  0
         this.state = state;
 199  0
     }
 200  
 
 201  
     /**
 202  
      * List of key/value pairs, typically used for dynamic attributes.
 203  
      */
 204  
     public Map<String, String> getAttributes() {
 205  0
         if (attributes == null) {
 206  0
             attributes = new HashMap<String, String>();
 207  
         }
 208  0
         return attributes;
 209  
     }
 210  
 
 211  
     public void setAttributes(Map<String, String> attributes) {
 212  0
         this.attributes = attributes;
 213  0
     }
 214  
 
 215  
 
 216  
     /**
 217  
      * Unique identifier for an learning result record. This is optional, due to the identifier being set at the time of creation. Once the result definition has been created, this should be seen as required.
 218  
      */
 219  
     public String getId() {
 220  0
         return id;
 221  
     }
 222  
 
 223  
     public void setId(String id) {
 224  0
         this.id = id;
 225  0
     }
 226  
 }