| Constructor and Description |
|---|
SiteLinkImpl(String title,
String site,
List<ItemIdValue> badges)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<ItemIdValue> |
getBadges()
Get the list of badges of the linked article.
|
String |
getPageTitle()
Get the string title of the linked page.
|
String |
getSiteKey()
Get the string key of the linked site.
|
int |
hashCode() |
String |
toString() |
public SiteLinkImpl(String title, String site, List<ItemIdValue> badges)
title - the title of the page on the target sitesite - the identifier of the target site (such as "dewiki")badges - the list of badge identifiers worn by this site link.
Can be null.public String getPageTitle()
SiteLinkgetPageTitle in interface SiteLinkpublic String getSiteKey()
SiteLinkgetSiteKey in interface SiteLinkpublic List<ItemIdValue> getBadges()
SiteLinkCopyright © 2014–2022 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage