org.walluck.oscar
Class News

java.lang.Object
  extended by org.walluck.oscar.News

public class News
extends Object

A news item.

Since:
1.0
Version:
1.0
Author:
David Walluck

Constructor Summary
News()
          Creates a new news item.
 
Method Summary
 String getHeadline()
          Get the value of headline.
 String getURL()
          Get the value of url.
 void setHeadline(String headline)
          Set the value of headline.
 void setURL(String url)
          Set the value of url.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

News

public News()
Creates a new news item.

Method Detail

getHeadline

public String getHeadline()
Get the value of headline.

Returns:
value of headline.

setHeadline

public void setHeadline(String headline)
Set the value of headline.

Parameters:
headline - Value to assign to headline.

getURL

public String getURL()
Get the value of url.

Returns:
value of url.

setURL

public void setURL(String url)
Set the value of url.

Parameters:
url - Value to assign to url.