Package com.tagtraum.tunes
Interface Item
-
- All Known Subinterfaces:
BrowserWindow
,FileTrack
,LibraryPlaylist
,Playlist
,Source
,Track
public interface Item
Item.- Author:
- Hendrik Schreiber
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
cast(Class<T> aClass)
Long
getId()
Returns the object's persistent id or null if none is available.String
getName()
void
setName(String name)
Set name.
-
-
-
Method Detail
-
cast
<T> T cast(Class<T> aClass)
- Parameters:
aClass
- type to cast to- Returns:
- casted object
-
getName
String getName()
- Returns:
- name
-
setName
void setName(String name)
Set name.
-
getId
Long getId()
Returns the object's persistent id or null if none is available.- Returns:
- the object's persistent id
-
-