anl.aida.reader
Class NYTEntry

java.lang.Object
  extended by anl.aida.reader.NYTEntry

public class NYTEntry
extends java.lang.Object

An article entry as represent by the JSON returned from the NYT article search API.This class is automatically instantiated and filled using Gson -- the JSON to java converter.


Field Summary
private  java.lang.String byline
           
private  java.lang.String date
           
private  java.lang.String title
           
private  java.lang.String url
           
 
Constructor Summary
NYTEntry()
           
 
Method Summary
 java.lang.String getByline()
           
 java.lang.String getDate()
           
 java.lang.String getTitle()
           
 java.lang.String getUrl()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

byline

private java.lang.String byline

date

private java.lang.String date

title

private java.lang.String title

url

private java.lang.String url
Constructor Detail

NYTEntry

public NYTEntry()
Method Detail

getByline

public java.lang.String getByline()
Returns:
the byline

getDate

public java.lang.String getDate()
Returns:
the date

getTitle

public java.lang.String getTitle()
Returns:
the title

getUrl

public java.lang.String getUrl()
Returns:
the url

toString

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