org.walluck.oscar
Class News

java.lang.Object
  extended byorg.walluck.oscar.News

public class News
extends java.lang.Object

A news item.

Since:
1.0
Version:
1.0
Author:
David Walluck

Constructor Summary
News()
          Creates a new news item.
 
Method Summary
 java.lang.String getHeadline()
          Get the value of headline.
 java.lang.String getURL()
          Get the value of url.
 void setHeadline(java.lang.String headline)
          Set the value of headline.
 void setURL(java.lang.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 java.lang.String getHeadline()
Get the value of headline.

Returns:
value of headline.

setHeadline

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

Parameters:
headline - Value to assign to headline.

getURL

public java.lang.String getURL()
Get the value of url.

Returns:
value of url.

setURL

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

Parameters:
url - Value to assign to url.