Clover Coverage Report - KS LUM API 1.1
Coverage timestamp: Wed Dec 31 1969 19:00:00 EST
../../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
16   155   16   1
0   77   1   16
16     1  
1    
 
  ResultOptionInfo       Line # 40 16 0% 16 32 0% 0.0
 
No Tests
 
1    /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10    * software distributed under the License is distributed on an "AS IS"
11    * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12    * or implied. See the License for the specific language governing
13    * permissions and limitations under the License.
14    */
15   
16    package org.kuali.student.lum.lu.dto;
17   
18    import java.io.Serializable;
19    import java.util.Date;
20   
21    import javax.xml.bind.annotation.XmlAccessType;
22    import javax.xml.bind.annotation.XmlAccessorType;
23    import javax.xml.bind.annotation.XmlAttribute;
24    import javax.xml.bind.annotation.XmlElement;
25   
26    import org.kuali.student.core.dto.Idable;
27    import org.kuali.student.core.dto.MetaInfo;
28    import org.kuali.student.core.dto.RichTextInfo;
29   
30    /**
31    * Information about a result option.
32    *
33    * @Author KSContractMojo
34    * @Author Kamal
35    * @Since Mon Jan 11 15:21:31 PST 2010
36    * @See <a href="https://test.kuali.org/confluence/display/KULSTU/resultOptionInfo+Structure+v1.0-rc3">ResultOptionInfo</>
37    *
38    */
39    @XmlAccessorType(XmlAccessType.FIELD)
 
40    public class ResultOptionInfo implements Serializable, Idable {
41   
42    private static final long serialVersionUID = 1L;
43   
44    @XmlElement
45    private RichTextInfo desc;
46   
47    @XmlElement
48    private String resultUsageTypeKey;
49   
50    @XmlElement
51    private String resultComponentId;
52   
53    @XmlElement
54    private Date effectiveDate;
55   
56    @XmlElement
57    private Date expirationDate;
58   
59    @XmlElement
60    private MetaInfo metaInfo;
61   
62    @XmlAttribute
63    private String state;
64   
65    @XmlAttribute
66    private String id;
67   
68    /**
69    * Narrative description of the result option.
70    */
 
71  0 toggle public RichTextInfo getDesc() {
72  0 return desc;
73    }
74   
 
75  0 toggle public void setDesc(RichTextInfo desc) {
76  0 this.desc = desc;
77    }
78   
79    /**
80    * Unique identifier for a result usage type.
81    */
 
82  0 toggle public String getResultUsageTypeKey() {
83  0 return resultUsageTypeKey;
84    }
85   
 
86  0 toggle public void setResultUsageTypeKey(String resultUsageTypeKey) {
87  0 this.resultUsageTypeKey = resultUsageTypeKey;
88    }
89   
90    /**
91    * Unique identifier for a result component.
92    */
 
93  0 toggle public String getResultComponentId() {
94  0 return resultComponentId;
95    }
96   
 
97  0 toggle public void setResultComponentId(String resultComponentId) {
98  0 this.resultComponentId = resultComponentId;
99    }
100   
101    /**
102    * Date and time that this result option became effective. This is a similar concept to the effective date on enumerated values. When an expiration date has been specified, this field must be less than or equal to the expiration date.
103    */
 
104  0 toggle public Date getEffectiveDate() {
105  0 return effectiveDate;
106    }
107   
 
108  0 toggle public void setEffectiveDate(Date effectiveDate) {
109  0 this.effectiveDate = effectiveDate;
110    }
111   
112    /**
113    * Date and time that this result option expires. This is a similar concept to the expiration date on enumerated values. If specified, this must be greater than or equal to the effective date. If this field is not specified, then no expiration date has been currently defined and should automatically be considered greater than the effective date.
114    */
 
115  0 toggle public Date getExpirationDate() {
116  0 return expirationDate;
117    }
118   
 
119  0 toggle public void setExpirationDate(Date expirationDate) {
120  0 this.expirationDate = expirationDate;
121    }
122   
123    /**
124    * Create and last update info for the structure. This is optional and treated as read only since the data is set by the internals of the service during maintenance operations.
125    */
 
126  0 toggle public MetaInfo getMetaInfo() {
127  0 return metaInfo;
128    }
129   
 
130  0 toggle public void setMetaInfo(MetaInfo metaInfo) {
131  0 this.metaInfo = metaInfo;
132    }
133   
134    /**
135    * The current status of the result option. The values for this field are constrained to those in the resultOptionState enumeration. A separate setup operation does not exist for retrieval of the meta data around this value.
136    */
 
137  0 toggle public String getState() {
138  0 return state;
139    }
140   
 
141  0 toggle public void setState(String state) {
142  0 this.state = state;
143    }
144   
145    /**
146    * Unique identifier for a result option. This is optional, due to the identifier being set at the time of creation. Once the result option has been created, this should be seen as required.
147    */
 
148  0 toggle public String getId() {
149  0 return id;
150    }
151   
 
152  0 toggle public void setId(String id) {
153  0 this.id = id;
154    }
155    }