package se.chalmers.watchme.notifications;

/**
*	Notifiable.java
*
*	Interface for describing classes that may be used in
*	notifications on a specific date.
*
*	@author Johan Brook
*	@copyright (c) 2012 Johan Brook
*	@license MIT
*/
public interface Notifiable {
	
	/**
	 * The notification id for this object.
	 * 
	 * Must be unique within the system (suggestion is to use hashCode()).
	 * 
	 * @return An id
	 */
	public int getNotificationId();
	
	/**
	 * Get the date in milliseconds. Used to set the timestamp
	 * of the notification.
	 * 
	 * @return The date to trigger
	 */
	public long getDateInMilliSeconds();
}

@@ -616,10 +616,166 @@
 onds();%0A
+%09%0A%09/**%0A%09 * The string representation of this notifiable object.%0A%09 * %0A%09 * @return The title to represent in the notification%0A%09 */%0A%09public String toString();%0A
 %7D%0A

Add toString requirement to Notifiable interface