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 String
getDescription()
Description.URI
getFallbackURI()
Fallback URI to be shown in regular web browser.long
getId()
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:BrowseNode
Id.- Specified by:
getId
in interfaceBrowseNode
- Returns:
- id
-
getDescription
public String getDescription()
Description copied from interface:BrowseNode
Description.- Specified by:
getDescription
in interfaceBrowseNode
- Returns:
- a description of the node
-
getFallbackURI
public URI getFallbackURI()
Description copied from interface:BrowseNode
Fallback URI to be shown in regular web browser.- Specified by:
getFallbackURI
in interfaceBrowseNode
- Returns:
- a non-null URI, if available
-
-