DLESE Tools
v1.6.0

org.dlese.dpc.index.reader
Class ItemDocReader.RelatedResource

java.lang.Object
  extended by org.dlese.dpc.index.reader.ItemDocReader.RelatedResource
Enclosing class:
ItemDocReader

public class ItemDocReader.RelatedResource
extends Object

Data for a related resource.

Author:
John Weatherley

Constructor Summary
ItemDocReader.RelatedResource(String id, String title, String url, String kind, String specifiedById)
           
 
Method Summary
 boolean equals(Object o)
          True if the two RelatedResource URLs and kind are the same.
 String getId()
          Gets the id attribute of the RelatedResource object
 String getKind()
          Gets the relation attribute of the RelatedResource object
 String getSpecifiedById()
          Gets the specifiedById attribute of the RelatedResource object
 String getTitle()
          Gets the title attribute of the RelatedResource object
 String getUrl()
          Gets the url attribute of the RelatedResource object
 String toString()
          String representation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ItemDocReader.RelatedResource

public ItemDocReader.RelatedResource(String id,
                                     String title,
                                     String url,
                                     String kind,
                                     String specifiedById)
Parameters:
id - The ID
title - The title
url - The url
kind - The kind
specifiedById - The ID of the record that specified this related resource
Method Detail

toString

public String toString()
String representation

Overrides:
toString in class Object
Returns:
String representation

equals

public boolean equals(Object o)
True if the two RelatedResource URLs and kind are the same.

Overrides:
equals in class Object
Parameters:
o - A RelatedResource
Returns:
True if the two RelatedResource URLs and kind are the same

getId

public String getId()
Gets the id attribute of the RelatedResource object

Returns:
The id value

getTitle

public String getTitle()
Gets the title attribute of the RelatedResource object

Returns:
The title value

getUrl

public String getUrl()
Gets the url attribute of the RelatedResource object

Returns:
The url value

getKind

public String getKind()
Gets the relation attribute of the RelatedResource object

Returns:
The relation value

getSpecifiedById

public String getSpecifiedById()
Gets the specifiedById attribute of the RelatedResource object

Returns:
The specifiedById value

DLESE Tools
v1.6.0