public class ItemDocReader.RelatedResource
extends java.lang.Object
Constructor and Description |
---|
RelatedResource(java.lang.String id,
java.lang.String title,
java.lang.String url,
java.lang.String kind,
java.lang.String specifiedById) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
True if the two RelatedResource URLs and kind are the same.
|
java.lang.String |
getId()
Gets the id attribute of the RelatedResource object
|
java.lang.String |
getKind()
Gets the relation attribute of the RelatedResource object
|
java.lang.String |
getSpecifiedById()
Gets the specifiedById attribute of the RelatedResource object
|
java.lang.String |
getTitle()
Gets the title attribute of the RelatedResource object
|
java.lang.String |
getUrl()
Gets the url attribute of the RelatedResource object
|
java.lang.String |
toString()
String representation
|
public RelatedResource(java.lang.String id, java.lang.String title, java.lang.String url, java.lang.String kind, java.lang.String specifiedById)
id
- The IDtitle
- The titleurl
- The urlkind
- The kindspecifiedById
- The ID of the record that specified this related resourcepublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- A RelatedResourcepublic java.lang.String getId()
public java.lang.String getTitle()
public java.lang.String getUrl()
public java.lang.String getKind()
public java.lang.String getSpecifiedById()