Coverage Report - org.kuali.mobility.notification.entity.UserNotification
 
Classes in this File Line Coverage Branch Coverage Complexity
UserNotification
0%
0/19
N/A
1
 
 1  
 /**
 2  
  * Copyright 2011 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.mobility.notification.entity;
 17  
 
 18  
 import java.io.Serializable;
 19  
 import java.util.Date;
 20  
 
 21  
 import javax.persistence.Column;
 22  
 import javax.persistence.Entity;
 23  
 import javax.persistence.GeneratedValue;
 24  
 import javax.persistence.GenerationType;
 25  
 import javax.persistence.Id;
 26  
 import javax.persistence.Table;
 27  
 import javax.persistence.Temporal;
 28  
 import javax.persistence.TemporalType;
 29  
 import javax.persistence.Version;
 30  
 
 31  
 @Entity
 32  
 @Table(name="KME_USR_NTFY_T")
 33  0
 public class UserNotification implements Serializable {
 34  
 
 35  
         private static final long serialVersionUID = -95981285235712123L;
 36  
 
 37  
     @Id
 38  
         @GeneratedValue(strategy = GenerationType.TABLE)
 39  
     @Column(name="ID")
 40  
     private Long userNotificationId;
 41  
 
 42  
     @Column(name="NTFY_ID")
 43  
     private Long notificationId;
 44  
 
 45  
     @Column(name="PRSN_ID")
 46  
     private Long personId;
 47  
 
 48  
     @Column(name="DEV_ID")
 49  
     private String deviceId;
 50  
 
 51  
     @Temporal(TemporalType.TIMESTAMP)
 52  
     @Column(name="NTFY_DT")
 53  
         private Date notifyDate;
 54  
 
 55  
     @Version
 56  
     @Column(name="VER_NBR")
 57  
     protected Long versionNumber;
 58  
 
 59  
         public Long getUserNotificationId() {
 60  0
                 return userNotificationId;
 61  
         }
 62  
 
 63  
         public void setUserNotificationId(Long userNotificationId) {
 64  0
                 this.userNotificationId = userNotificationId;
 65  0
         }
 66  
 
 67  
         public Long getNotificationId() {
 68  0
                 return notificationId;
 69  
         }
 70  
 
 71  
         public void setNotificationId(Long notificationId) {
 72  0
                 this.notificationId = notificationId;
 73  0
         }
 74  
 
 75  
         public Long getPersonId() {
 76  0
                 return personId;
 77  
         }
 78  
 
 79  
         public void setPersonId(Long personId) {
 80  0
                 this.personId = personId;
 81  0
         }
 82  
 
 83  
         public String getDeviceId() {
 84  0
                 return deviceId;
 85  
         }
 86  
 
 87  
         public void setDeviceId(String deviceId) {
 88  0
                 this.deviceId = deviceId;
 89  0
         }
 90  
 
 91  
         public Date getNotifyDate() {
 92  0
                 return notifyDate;
 93  
         }
 94  
 
 95  
         public void setNotifyDate(Date notifyDate) {
 96  0
                 this.notifyDate = notifyDate;
 97  0
         }
 98  
 
 99  
         public Long getVersionNumber() {
 100  0
                 return versionNumber;
 101  
         }
 102  
 
 103  
         public void setVersionNumber(Long versionNumber) {
 104  0
                 this.versionNumber = versionNumber;
 105  0
         }        
 106  
 
 107  
 }