Package org.dlese.dpc.index.reader
Class ItemDocReader.RelatedResource
java.lang.Object
org.dlese.dpc.index.reader.ItemDocReader.RelatedResource
- Enclosing class:
ItemDocReader
Data for a related resource.
- Author:
- John Weatherley
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTrue if the two RelatedResource URLs and kind are the same.getId()Gets the id attribute of the RelatedResource objectgetKind()Gets the relation attribute of the RelatedResource objectGets the specifiedById attribute of the RelatedResource objectgetTitle()Gets the title attribute of the RelatedResource objectgetUrl()Gets the url attribute of the RelatedResource objecttoString()String representation
-
Constructor Details
-
RelatedResource
- Parameters:
id- The IDtitle- The titleurl- The urlkind- The kindspecifiedById- The ID of the record that specified this related resource
-
-
Method Details
-
toString
String representation -
equals
True if the two RelatedResource URLs and kind are the same. -
getId
Gets the id attribute of the RelatedResource object- Returns:
- The id value
-
getTitle
Gets the title attribute of the RelatedResource object- Returns:
- The title value
-
getUrl
Gets the url attribute of the RelatedResource object- Returns:
- The url value
-
getKind
Gets the relation attribute of the RelatedResource object- Returns:
- The relation value
-
getSpecifiedById
Gets the specifiedById attribute of the RelatedResource object- Returns:
- The specifiedById value
-