Coverage Report - org.kuali.student.core.messages.entity.MessageEntity
 
Classes in this File Line Coverage Branch Coverage Complexity
MessageEntity
100%
13/13
N/A
1
 
 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  52
 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  
          public String getLocale() {
 39  46
                  return locale;
 40  
          }
 41  
          public void setLocale(String locale) {
 42  38
                  this.locale = locale;
 43  38
          }
 44  
          public String getGroupName() {
 45  46
                  return groupName;
 46  
          }
 47  
          public void setGroupName(String groupName) {
 48  38
                  this.groupName = groupName;
 49  38
          }
 50  
          public String getValue() {
 51  46
                  return value;
 52  
          }
 53  
          public void setValue(String value) {
 54  38
                  this.value = value;
 55  38
          }
 56  
         public String getMessageId() {
 57  46
                 return messageId;
 58  
         }
 59  
         public void setMessageId(String messageId) {
 60  38
                 this.messageId = messageId;
 61  38
         }
 62  
 
 63  
 }