Package com.tagtraum.ubermusic.amazon
Class BrowseNodeImpl
- java.lang.Object
-
- com.tagtraum.ubermusic.amazon.BrowseNodeImpl
-
- All Implemented Interfaces:
BrowseNode
public class BrowseNodeImpl extends Object implements BrowseNode
BrowseNodeImpl.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description BrowseNodeImpl(String description, long id)BrowseNodeImpl(String description, long id, String fallbackURI)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Description.URIgetFallbackURI()Fallback URI to be shown in regular web browser.longgetId()Id.
-
-
-
Constructor Detail
-
BrowseNodeImpl
public BrowseNodeImpl(String description, long id)
- Parameters:
description- description of this BrowseNode.id- id of this BrowseNode
-
-
Method Detail
-
getId
public long getId()
Description copied from interface:BrowseNodeId.- Specified by:
getIdin interfaceBrowseNode- Returns:
- id
-
getDescription
public String getDescription()
Description copied from interface:BrowseNodeDescription.- Specified by:
getDescriptionin interfaceBrowseNode- Returns:
- a description of the node
-
getFallbackURI
public URI getFallbackURI()
Description copied from interface:BrowseNodeFallback URI to be shown in regular web browser.- Specified by:
getFallbackURIin interfaceBrowseNode- Returns:
- a non-null URI, if available
-
-