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.core.entity.BaseEntity;
 23  
 import org.kuali.student.core.entity.KSEntityConstants;
 24  
 
 25  
 @Entity
 26  
 @Table(name = "KSMG_MESSAGE")
 27  89
 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  62
                  return locale;
 40  
          }
 41  
          public void setLocale(String locale) {
 42  76
                  this.locale = locale;
 43  76
          }
 44  
          public String getGroupName() {
 45  64
                  return groupName;
 46  
          }
 47  
          public void setGroupName(String groupName) {
 48  76
                  this.groupName = groupName;
 49  76
          }
 50  
          public String getValue() {
 51  51
                  return value;
 52  
          }
 53  
          public void setValue(String value) {
 54  76
                  this.value = value;
 55  76
          }
 56  
         public String getMessageId() {
 57  51
                 return messageId;
 58  
         }
 59  
         public void setMessageId(String messageId) {
 60  76
                 this.messageId = messageId;
 61  76
         }
 62  
 
 63  
 }