com.spinn3r.api
Class BaseItem

java.lang.Object
  extended by com.spinn3r.api.BaseResult
      extended by com.spinn3r.api.BaseItem
Direct Known Subclasses:
CommentItem, Feed, FeedItem, PermalinkItem, Source

public abstract class BaseItem
extends BaseResult

Represents a single item returned from the API.


Field Summary
protected  java.lang.String authorEmail
           
protected  java.lang.String authorLink
           
protected  java.lang.String authorName
           
protected  java.lang.String commentExtract
           
protected  java.lang.String contentExtract
           
protected  java.lang.String description
           
protected  java.lang.String feedResource
           
protected  java.lang.String feedURL
           
protected  java.lang.String guid
           
protected  java.lang.String lang
           
protected  java.lang.String link
           
protected  java.util.Date pubDate
           
protected  java.util.Date published
           
protected  java.lang.String resourceGUID
           
protected  java.lang.String source
           
protected  java.util.List tags
           
protected  java.lang.String title
           
protected  java.lang.String weblogDescription
           
protected  int weblogIndegree
           
protected  java.lang.String weblogPublisherType
           
protected  java.lang.String weblogResource
           
protected  int weblogTier
           
protected  java.lang.String weblogTitle
           
 
Constructor Summary
BaseItem()
           
 
Method Summary
 java.lang.String dump()
           
 java.lang.String dump(boolean fields)
           
 java.lang.String getAuthorEmail()
          Get the value of authorEmail.
 java.lang.String getAuthorLink()
          Get the value of authorLink.
 java.lang.String getAuthorName()
          Get the value of authorName.
 java.lang.String getCommentExtract()
          Get the value of commentExtract.
 java.lang.String getContentExtract()
          Get the value of contentExtract.
 java.lang.String getDescription()
          Get the value of description.
 java.lang.String getFeedHashcode()
          Get the value of feedHashcode.
 java.lang.String getFeedResource()
          Get the value of feedResource.
 java.lang.String getFeedURL()
          Get the value of feedURL.
 java.lang.String getGuid()
          Get the value of guid.
 java.lang.String getLang()
          Get the value of lang.
 java.lang.String getLink()
          Get the value of link.
 java.lang.String getPostBody()
          Get the value of postBody.
 java.lang.String getPostHashcode()
          Get the value of postHashcode.
 java.lang.String getPostTitle()
          Get the value of postTitle.
 java.util.Date getPubDate()
          Get the value of pubDate.
 java.util.Date getPublished()
          Get the value of published.
 java.lang.String getResourceGUID()
          Get the value of resourceGUID.
 java.lang.String getSource()
          Get the value of source.
 java.lang.String getSourceHashcode()
          Get the value of sourceHashcode.
 java.util.List getTags()
          Get the value of tags.
 java.lang.String getTitle()
          Get the value of title.
 java.lang.String getWeblogDescription()
          Get the value of weblogDescription.
 int getWeblogIndegree()
          Get the value of weblogIndegree.
 java.lang.String getWeblogPublisherType()
          Get the value of weblogPublisherType.
 java.lang.String getWeblogResource()
          Get the value of weblogResource.
 int getWeblogTier()
          Get the value of weblogTier.
 java.lang.String getWeblogTitle()
          Get the value of weblogTitle.
 void setAuthorEmail(java.lang.String authorEmail)
          Set the value of authorEmail.
 void setAuthorLink(java.lang.String authorLink)
          Set the value of authorLink.
 void setAuthorName(java.lang.String authorName)
          Set the value of authorName.
 void setCommentExtract(java.lang.String commentExtract)
          Set the value of commentExtract.
 void setContentExtract(java.lang.String contentExtract)
          Set the value of contentExtract.
 void setDescription(java.lang.String description)
          Set the value of description.
 void setFeedHashcode(java.lang.String feedHashcode)
          Set the value of feedHashcode.
 void setFeedResource(java.lang.String feedResource)
          Set the value of feedResource.
 void setFeedURL(java.lang.String feedURL)
          Set the value of feedURL.
 void setGuid(java.lang.String guid)
          Set the value of guid.
 void setLang(java.lang.String lang)
          Set the value of lang.
 void setLink(java.lang.String link)
          Set the value of link.
 void setPostBody(java.lang.String postBody)
          Set the value of postBody.
 void setPostHashcode(java.lang.String postHashcode)
          Set the value of postHashcode.
 void setPostTitle(java.lang.String postTitle)
          Set the value of postTitle.
 void setPubDate(java.util.Date pubDate)
          Set the value of pubDate.
 void setPublished(java.util.Date published)
          Set the value of published.
 void setResourceGUID(java.lang.String resourceGUID)
          Set the value of resourceGUID.
 void setSource(java.lang.String source)
          Set the value of source.
 void setSourceHashcode(java.lang.String sourceHashcode)
          Set the value of sourceHashcode.
 void setTags(java.util.List tags)
          Set the value of tags.
 void setTitle(java.lang.String title)
          Set the value of title.
 void setWeblogDescription(java.lang.String weblogDescription)
          Set the value of weblogDescription.
 void setWeblogIndegree(int weblogIndegree)
          Set the value of weblogIndegree.
 void setWeblogPublisherType(java.lang.String weblogPublisherType)
          Set the value of weblogPublisherType.
 void setWeblogResource(java.lang.String weblogResource)
          Set the value of weblogResource.
 void setWeblogTier(int weblogTier)
          Set the value of weblogTier.
 void setWeblogTitle(java.lang.String weblogTitle)
          Set the value of weblogTitle.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tags

protected java.util.List tags

title

protected java.lang.String title

link

protected java.lang.String link

description

protected java.lang.String description

guid

protected java.lang.String guid

lang

protected java.lang.String lang

resourceGUID

protected java.lang.String resourceGUID

source

protected java.lang.String source

weblogTitle

protected java.lang.String weblogTitle

weblogDescription

protected java.lang.String weblogDescription

weblogPublisherType

protected java.lang.String weblogPublisherType

weblogResource

protected java.lang.String weblogResource

weblogTier

protected int weblogTier

weblogIndegree

protected int weblogIndegree

pubDate

protected java.util.Date pubDate

published

protected java.util.Date published

authorName

protected java.lang.String authorName

authorEmail

protected java.lang.String authorEmail

authorLink

protected java.lang.String authorLink

contentExtract

protected java.lang.String contentExtract

commentExtract

protected java.lang.String commentExtract

feedURL

protected java.lang.String feedURL

feedResource

protected java.lang.String feedResource
Constructor Detail

BaseItem

public BaseItem()
Method Detail

getFeedResource

public java.lang.String getFeedResource()
Get the value of feedResource.


setFeedResource

public void setFeedResource(java.lang.String feedResource)
Set the value of feedResource.


getPostHashcode

public java.lang.String getPostHashcode()
Get the value of postHashcode.


setPostHashcode

public void setPostHashcode(java.lang.String postHashcode)
Set the value of postHashcode.


getFeedHashcode

public java.lang.String getFeedHashcode()
Get the value of feedHashcode.


setFeedHashcode

public void setFeedHashcode(java.lang.String feedHashcode)
Set the value of feedHashcode.


getSourceHashcode

public java.lang.String getSourceHashcode()
Get the value of sourceHashcode.


setSourceHashcode

public void setSourceHashcode(java.lang.String sourceHashcode)
Set the value of sourceHashcode.


setPostBody

public void setPostBody(java.lang.String postBody)
Set the value of postBody.


getPostBody

public java.lang.String getPostBody()
Get the value of postBody.


setPostTitle

public void setPostTitle(java.lang.String postTitle)
Set the value of postTitle.


getPostTitle

public java.lang.String getPostTitle()
Get the value of postTitle.


setWeblogIndegree

public void setWeblogIndegree(int weblogIndegree)
Set the value of weblogIndegree.


getWeblogIndegree

public int getWeblogIndegree()
Get the value of weblogIndegree.


getWeblogPublisherType

public java.lang.String getWeblogPublisherType()
Get the value of weblogPublisherType.


setWeblogPublisherType

public void setWeblogPublisherType(java.lang.String weblogPublisherType)
Set the value of weblogPublisherType.


getCommentExtract

public java.lang.String getCommentExtract()
Get the value of commentExtract.


setCommentExtract

public void setCommentExtract(java.lang.String commentExtract)
Set the value of commentExtract.


getContentExtract

public java.lang.String getContentExtract()
Get the value of contentExtract.


setContentExtract

public void setContentExtract(java.lang.String contentExtract)
Set the value of contentExtract.


getAuthorLink

public java.lang.String getAuthorLink()
Get the value of authorLink.


setAuthorLink

public void setAuthorLink(java.lang.String authorLink)
Set the value of authorLink.


getAuthorEmail

public java.lang.String getAuthorEmail()
Get the value of authorEmail.


setAuthorEmail

public void setAuthorEmail(java.lang.String authorEmail)
Set the value of authorEmail.


getAuthorName

public java.lang.String getAuthorName()
Get the value of authorName.


setAuthorName

public void setAuthorName(java.lang.String authorName)
Set the value of authorName.


getPubDate

public java.util.Date getPubDate()
Get the value of pubDate.

Overrides:
getPubDate in class BaseResult

setPubDate

public void setPubDate(java.util.Date pubDate)
Set the value of pubDate.

Overrides:
setPubDate in class BaseResult

setTags

public void setTags(java.util.List tags)
Set the value of tags.


getTags

public java.util.List getTags()
Get the value of tags.


getWeblogTier

public int getWeblogTier()
Get the value of weblogTier.


setWeblogTier

public void setWeblogTier(int weblogTier)
Set the value of weblogTier.


getWeblogDescription

public java.lang.String getWeblogDescription()
Get the value of weblogDescription.


setWeblogDescription

public void setWeblogDescription(java.lang.String weblogDescription)
Set the value of weblogDescription.


getWeblogTitle

public java.lang.String getWeblogTitle()
Get the value of weblogTitle.


setWeblogTitle

public void setWeblogTitle(java.lang.String weblogTitle)
Set the value of weblogTitle.


getWeblogResource

public java.lang.String getWeblogResource()
Get the value of weblogResource.


setWeblogResource

public void setWeblogResource(java.lang.String weblogResource)
Set the value of weblogResource.


getSource

public java.lang.String getSource()
Get the value of source.


setSource

public void setSource(java.lang.String source)
Set the value of source.


getLang

public java.lang.String getLang()
Get the value of lang.


setLang

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


getGuid

public java.lang.String getGuid()
Get the value of guid.


setGuid

public void setGuid(java.lang.String guid)
Set the value of guid.


getLink

public java.lang.String getLink()
Get the value of link.


setLink

public void setLink(java.lang.String link)
Set the value of link.


setTitle

public void setTitle(java.lang.String title)
Set the value of title.


getTitle

public java.lang.String getTitle()
Get the value of title.


setDescription

public void setDescription(java.lang.String description)
Set the value of description.


getDescription

public java.lang.String getDescription()
Get the value of description.


getPublished

public java.util.Date getPublished()
Get the value of published.


setPublished

public void setPublished(java.util.Date published)
Set the value of published.


getFeedURL

public java.lang.String getFeedURL()
Get the value of feedURL.


setFeedURL

public void setFeedURL(java.lang.String feedURL)
Set the value of feedURL.


getResourceGUID

public java.lang.String getResourceGUID()
Get the value of resourceGUID.


setResourceGUID

public void setResourceGUID(java.lang.String resourceGUID)
Set the value of resourceGUID.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

dump

public java.lang.String dump()

dump

public java.lang.String dump(boolean fields)


Copyright © Tailrank Inc. All Rights Reserved.