|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MessageEntity | Line # 27 | 8 | 0% | 8 | 0 | 100% |
1.0
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
(8) | |||
Result | |||
1.0
|
org.kuali.student.core.messages.service.impl.MessageServiceImplTest.testUpdateMessage org.kuali.student.core.messages.service.impl.MessageServiceImplTest.testUpdateMessage | 1 PASS | |
1.0
|
org.kuali.student.core.messages.dao.impl.MessageManagementDAOImplTest.testUpdateMessage org.kuali.student.core.messages.dao.impl.MessageManagementDAOImplTest.testUpdateMessage | 1 PASS | |
0.5
|
org.kuali.student.core.messages.service.impl.MessageServiceImplTest.testGetMessages org.kuali.student.core.messages.service.impl.MessageServiceImplTest.testGetMessages | 1 PASS | |
0.5
|
org.kuali.student.core.messages.service.impl.MessageServiceImplTest.testGetMessagesByGroup org.kuali.student.core.messages.service.impl.MessageServiceImplTest.testGetMessagesByGroup | 1 PASS | |
0.5
|
org.kuali.student.core.messages.dao.impl.MessageManagementDAOImplTest.testGetMessage org.kuali.student.core.messages.dao.impl.MessageManagementDAOImplTest.testGetMessage | 1 PASS | |
0.5
|
org.kuali.student.core.messages.service.impl.MessageServiceImplTest.testGetMessage org.kuali.student.core.messages.service.impl.MessageServiceImplTest.testGetMessage | 1 PASS | |
0.25
|
org.kuali.student.core.messages.dao.impl.MessageManagementDAOImplTest.testGetMessagesByGroup org.kuali.student.core.messages.dao.impl.MessageManagementDAOImplTest.testGetMessagesByGroup | 1 PASS | |
0.25
|
org.kuali.student.core.messages.dao.impl.MessageManagementDAOImplTest.testGetMessages org.kuali.student.core.messages.dao.impl.MessageManagementDAOImplTest.testGetMessages | 1 PASS | |
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.core.messages.entity; | |
17 | ||
18 | import javax.persistence.Column; | |
19 | import javax.persistence.Entity; | |
20 | import javax.persistence.Table; | |
21 | ||
22 | import org.kuali.student.common.entity.BaseEntity; | |
23 | import org.kuali.student.common.entity.KSEntityConstants; | |
24 | ||
25 | @Entity | |
26 | @Table(name = "KSMG_MESSAGE") | |
27 | public class MessageEntity extends BaseEntity{ | |
28 | ||
29 | @Column(name="MSG_ID") | |
30 | private String messageId; | |
31 | @Column(name="LOCALE") | |
32 | private String locale; | |
33 | @Column(name="GRP_NAME") | |
34 | private String groupName; | |
35 | @Column(name="MSG_VALUE",length=KSEntityConstants.LONG_TEXT_LENGTH) | |
36 | private String value; | |
37 | ||
38 | 342 | public String getLocale() { |
39 | 342 | return locale; |
40 | } | |
41 | 356 | public void setLocale(String locale) { |
42 | 356 | this.locale = locale; |
43 | } | |
44 | 344 | public String getGroupName() { |
45 | 344 | return groupName; |
46 | } | |
47 | 356 | public void setGroupName(String groupName) { |
48 | 356 | this.groupName = groupName; |
49 | } | |
50 | 331 | public String getValue() { |
51 | 331 | return value; |
52 | } | |
53 | 356 | public void setValue(String value) { |
54 | 356 | this.value = value; |
55 | } | |
56 | 331 | public String getMessageId() { |
57 | 331 | return messageId; |
58 | } | |
59 | 356 | public void setMessageId(String messageId) { |
60 | 356 | this.messageId = messageId; |
61 | } | |
62 | ||
63 | } |
|