Clover Coverage Report - KS Common 1.3.0-SNAPSHOT (Aggregated)
Coverage timestamp: Thu Apr 28 2011 06:00:36 EDT
../../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
8   71   8   1
0   44   1   8
8     1  
1    
 
  Message       Line # 34 8 0% 8 16 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.common.messages.dto;
17   
18    import java.io.Serializable;
19   
20    import javax.xml.bind.annotation.XmlAccessType;
21    import javax.xml.bind.annotation.XmlAccessorType;
22    import javax.xml.bind.annotation.XmlAttribute;
23    import javax.xml.bind.annotation.XmlElement;
24    import javax.xml.bind.annotation.XmlRootElement;
25    /**
26    * Example:
27    <message locale="en" groupName="/ks/admin/person/validate" id="isRequired">
28    <value>${name} is required</value>
29    </message>
30    */
31   
32    @XmlAccessorType(XmlAccessType.FIELD)
33    @XmlRootElement(name = "message")
 
34    public class Message implements Serializable{
35    private static final long serialVersionUID = 1L;
36   
37    @XmlAttribute(required = true)
38    protected String locale;
39    @XmlAttribute(required = true)
40    protected String groupName;
41    @XmlAttribute(required = true)
42    protected String id;
43    @XmlElement(name = "value", required = true)
44    protected String value;
 
45  0 toggle public String getLocale() {
46  0 return locale;
47    }
 
48  0 toggle public void setLocale(String locale) {
49  0 this.locale = locale;
50    }
 
51  0 toggle public String getGroupName() {
52  0 return groupName;
53    }
 
54  0 toggle public void setGroupName(String groupName) {
55  0 this.groupName = groupName;
56    }
 
57  0 toggle public String getId() {
58  0 return id;
59    }
 
60  0 toggle public void setId(String id) {
61  0 this.id = id;
62    }
 
63  0 toggle public String getValue() {
64  0 return value;
65    }
 
66  0 toggle public void setValue(String value) {
67  0 this.value = value;
68    }
69   
70   
71    }