org.bejug.javacareers.feeder.model
Class RssFeed

java.lang.Object
  extended byorg.bejug.javacareers.feeder.model.RssFeed
All Implemented Interfaces:
Feed

public class RssFeed
extends java.lang.Object
implements Feed

Value object for an RSS Feed

Version:
$Revision: 1.1 $ - $Date: 2005/08/26 07:58:29 $
Author:
Bavo (last modified by $Author: ge0ffrey $)

Constructor Summary
RssFeed()
           
 
Method Summary
 java.lang.Integer getId()
          Returns ID
 java.lang.String getKeywords()
          Gets the keywords for this feed
 java.lang.String getSourceName()
          The source name
 java.lang.String getSourceUrl()
          The source url.
 java.lang.String getUri()
          Gets the URL for this feed
 boolean isOnDescription()
          Gets whether keywords are on description (else title)
 boolean isOnTitle()
          Gets whether keywords are on title
 void setId(java.lang.Integer id)
          Sets ID
 void setKeywords(java.lang.String keywords)
          Sets the keywords for this feed
 void setOnDescription(boolean onDescription)
          Sets zhether keyzords are on description (else they are on title)
 void setOnTitle(boolean onTitle)
          Sets whether keywords are on title
 void setSourceName(java.lang.String sourceName)
          Sets the source name for this feed.
 void setSourceUrl(java.lang.String sourceUrl)
          Sets the source URL for this feed
 void setUri(java.lang.String uri)
          Sets the URL for this feed
 java.lang.String toString()
          Gets a String representation of this feed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RssFeed

public RssFeed()
Method Detail

getKeywords

public java.lang.String getKeywords()
Gets the keywords for this feed

Returns:
The keywords in this feed

setKeywords

public void setKeywords(java.lang.String keywords)
Sets the keywords for this feed

Parameters:
keywords - comma-delimited

isOnDescription

public boolean isOnDescription()
Gets whether keywords are on description (else title)

Returns:
true if keywords are on description

setOnDescription

public void setOnDescription(boolean onDescription)
Sets zhether keyzords are on description (else they are on title)

Parameters:
onDescription - On description

getSourceUrl

public java.lang.String getSourceUrl()
The source url.

Returns:
String the source url for this feed

setSourceUrl

public void setSourceUrl(java.lang.String sourceUrl)
Sets the source URL for this feed

Parameters:
sourceUrl - Sets the source URL of this feed

isOnTitle

public boolean isOnTitle()
Gets whether keywords are on title

Returns:
true if keywords on title

setOnTitle

public void setOnTitle(boolean onTitle)
Sets whether keywords are on title

Parameters:
onTitle - true if on title

getSourceName

public java.lang.String getSourceName()
The source name

Returns:
String the source name for this feed

setSourceName

public void setSourceName(java.lang.String sourceName)
Sets the source name for this feed.

Parameters:
sourceName - Sets the source of this feed

getId

public java.lang.Integer getId()
Returns ID

Returns:
Returns the id.

setId

public void setId(java.lang.Integer id)
Sets ID

Parameters:
id - The id to set.

getUri

public java.lang.String getUri()
Gets the URL for this feed

Returns:
String The URL for this feed

setUri

public void setUri(java.lang.String uri)
Sets the URL for this feed

Parameters:
uri - The URL for this feed as a string

toString

public java.lang.String toString()
Gets a String representation of this feed

Returns:
String A string representation of this feed's properties


Copyright © 2005-2006 BeJUG. All Rights Reserved.