Coverage Report - org.kuali.rice.ken.bo.NotificationResponse
 
Classes in this File Line Coverage Branch Coverage Complexity
NotificationResponse
0%
0/12
N/A
1
 
 1  
 /*
 2  
  * Copyright 2007-2008 The Kuali Foundation
 3  
  * 
 4  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  * 
 8  
  * http://www.opensource.org/licenses/ecl2.php
 9  
  * 
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.rice.ken.bo;
 17  
 
 18  
 import org.kuali.rice.ken.util.NotificationConstants;
 19  
 
 20  
 
 21  
 /**
 22  
  * This class represents the data structure that will house information for
 23  
  * a Notification Response
 24  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 25  
  */
 26  
 public class NotificationResponse {
 27  
     
 28  
     private String status;
 29  
     
 30  
     private String message;
 31  
 
 32  
     private Long notificationId;
 33  
     
 34  
     /**
 35  
      * Constructs a NotificationResponse.java instance.
 36  
      */
 37  0
     public NotificationResponse() {
 38  0
         status = NotificationConstants.RESPONSE_STATUSES.SUCCESS;
 39  0
     }
 40  
     
 41  
     /**
 42  
      * Gets the status attribute. 
 43  
      * @return Returns the response status.
 44  
      */
 45  
     public String getStatus() {
 46  0
         return status;
 47  
     }
 48  
 
 49  
     /**
 50  
      * Sets the status attribute value.
 51  
      * @param status The status to set.
 52  
      */
 53  
     public void setStatus(String status) {
 54  0
         this.status = status;
 55  0
     }
 56  
     
 57  
     /**
 58  
      * Gets the message attribute. 
 59  
      * @return Returns the response message.
 60  
      */
 61  
     
 62  
     public String getMessage() {
 63  0
         return message;
 64  
     }
 65  
 
 66  
     /**
 67  
      * Sets the message attribute value.
 68  
      * @param message The message to set.
 69  
      */
 70  
     public void setMessage(String message) {
 71  0
         this.message = message;
 72  0
     }
 73  
 
 74  
     /**
 75  
      * Gets the id of the sent notification
 76  
      * @return the id of the sent notification
 77  
      */
 78  
     public Long getNotificationId() {
 79  0
         return notificationId;
 80  
     }
 81  
 
 82  
     /**
 83  
      * Sets the id of the sent notification
 84  
      * @param notificationId the id of the sent notification
 85  
      */
 86  
     public void setNotificationId(Long notificationId) {
 87  0
         this.notificationId = notificationId;
 88  0
     }
 89  
     
 90  
 }