HERE Android SDK Developer's Guide

SupplierLink

The class SupplierLink is a member of com.here.android.mpa.search .

Class Summary

public class SupplierLink

extends com.here.android.mpa.search.Link, java.lang.Object

Represents a SupplierLink which contains meta-information about a supplier.

[For complete information, see the section Class Details]

See also:

getSupplier()

getSupplier()

Method Summary

Table 1. Methods in SupplierLink
Methods

public boolean equals (Object obj)

For documentation, see java.lang.Object

public String getIconUrl ()

Gets the URL to retrieve the icon for the resource to which the Link refers.

public String getId ()

Gets the unique identifier for the resource to which the Link refers.

public String getName ()

Gets the name of the supplier that provided the the Link .

public String getUrl ()

Gets the String representation of the URL to the supplier's profile

public int hashCode ()

For documentation, see java.lang.Object

Class Details

Represents a SupplierLink which contains meta-information about a supplier.

See also:

getSupplier()

getSupplier()

Method Details

public boolean equals (Object obj)

For documentation, see java.lang.Object

Parameters:

  • obj

public String getIconUrl ()

Gets the URL to retrieve the icon for the resource to which the Link refers.

Note: an icon URL for a linked object is optional, so a call to this method could return empty .

Returns:

The icon URL (could be empty)

public String getId ()

Gets the unique identifier for the resource to which the Link refers.

Note: an ID for a linked object is optional, so a call to this method could return empty .

Returns:

The ID (could be empty)

public String getName ()

Gets the name of the supplier that provided the the Link .

Note: a supplier name for a linked object is optional, so a call to this method could return empty .

Returns:

The icon URL (could be empty)

public String getUrl ()

Gets the String representation of the URL to the supplier's profile

Returns:

The URL

public int hashCode ()

For documentation, see java.lang.Object