package ca.ualberta.cs.lonelytwitter;

import java.util.Date;

public class lonelyTweetModel
{
	protected String text;
	protected Date timestamp;
	
	public String getText()
	{
	
		return text;
	}
	
	public abstract void setText(String text);
	
	public Date getTimestamp()
	{
	
		return timestamp;
	}
	
	public void setTimestamp(Date timestamp)
	{
	
		this.timestamp = timestamp;
	}

	public lonelyTweetModel(String text, Date timestamp)
	{

		super();
		this.text = text;
		this.timestamp = new Date();
	}
	public lonelyTweetModel(String text)
	{

		super();
		this.text = text;
		this.timestamp = new Date();
	}
	
}

@@ -63,16 +63,25 @@
 %0Apublic 
+abstract 
 class lo
@@ -148,16 +148,46 @@
 estamp;%0A
+%09protected boolean important;%0A
 %09%0A%09publi
@@ -647,10 +647,215 @@
 );%0A%09%7D%0A%09%0A
+%09//abstract method can be used to differentiate between normal and important %0A%09public boolean getImportant()%7B%0A%09%09return important;%0A%09%7D%0A%09public abstract void setImportant(boolean important) throws Exception;%0A
 %7D%0A

Add important check flag