Reference
AirplayDevice
, Artwork
, AudioCdPlaylist
, AudioCdTrack
, BrowserWindow
, Encoder
, EqPreset
, EqWindow
, FileTrack
, FolderPlaylist
, LibraryPlaylist
, MiniplayerWindow
, Playlist
, PlaylistWindow
, RadioTunerPlaylist
, SharedTrack
, Source
, SubscriptionPlaylist
, Track
, UrlTrack
, UserPlaylist
, VideoWindow
, Visual
, Window
@Plural("items") @Code("cobj") @Name("item") public interface Item extends Reference
Modifier and Type | Method | Description |
---|---|---|
Reference |
getContainer() |
The container of the item.
|
int |
getId() |
The id of the item.
|
int |
getIndex() |
The index of the item in internal application order.
|
TypeClass |
getKlass() |
The class of the item.
|
String |
getName() |
The name of the item.
|
String |
getPersistentId() |
The id of the item as a hexadecimal string.
|
Map<String,Object> |
getProperties() |
Returns all properties for an instance of this class.
|
void |
setName(String name) |
The name of the item.
|
cast, getApplicationReference, getObjectReference, getTypeClass, isInstanceOf
static final TypeClass CLASS
@Code("pcls") @Kind("property") @Name("class") @Type("type") TypeClass getKlass()
@Code("ctnr") @Kind("property") @Name("container") @Type("specifier") Reference getContainer()
@Code("ID ") @Kind("property") @Name("id") @Type("integer") int getId()
@Code("pidx") @Kind("property") @Name("index") @Type("integer") int getIndex()
@Code("pnam") @Kind("property") @Name("name") @Type("text") String getName()
@Code("pnam") @Kind("property") @Name("name") @Type("text") void setName(String name)
name
- new property value@Code("pPIS") @Kind("property") @Name("persistent ID") @Type("text") String getPersistentId()