Package com.tagtraum.tunes
Interface Item
-
- All Known Subinterfaces:
BrowserWindow,FileTrack,LibraryPlaylist,Playlist,Source,Track
public interface ItemItem.- Author:
- Hendrik Schreiber
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Tcast(Class<T> aClass)LonggetId()Returns the object's persistent id or null if none is available.StringgetName()voidsetName(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
-
-