java.io.Serializable, SiteLinkpublic class SiteLinkImpl extends java.lang.Object implements SiteLink, java.io.Serializable
SiteLink.
WARNING: Site key and site base IRI are currently specified independently. It
is expected that this will change to use a mapping from site keys to IRIs
instead.| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
|
java.util.List<java.lang.String> |
getBadges() |
Get the list of badges of the linked article.
|
java.lang.String |
getPageTitle() |
Get the string title of the linked page.
|
java.lang.String |
getSiteKey() |
Get the string key of the linked site.
|
int |
hashCode() |
|
java.lang.String |
toString() |
public java.lang.String getPageTitle()
SiteLinkgetPageTitle in interface SiteLinkpublic java.lang.String getSiteKey()
SiteLinkgetSiteKey in interface SiteLinkpublic java.util.List<java.lang.String> getBadges()
SiteLinkpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage