Modifier and Type | Method | Description |
---|---|---|
default int |
countAudioCdTracks() |
|
int |
countAudioCdTracks(String filter) |
|
String |
getArtist() |
The artist of the CD.
|
AudioCdTrack |
getAudioCdTrack(int index) |
|
AudioCdTrack |
getAudioCdTrack(Id id) |
|
default AudioCdTrack[] |
getAudioCdTracks() |
|
AudioCdTrack[] |
getAudioCdTracks(String filter) |
|
String |
getComposer() |
The composer of the CD.
|
int |
getDiscCount() |
The total number of discs in this CD’s album.
|
int |
getDiscNumber() |
The index of this CD disc in the source album.
|
String |
getGenre() |
The genre of the CD.
|
Map<String,Object> |
getProperties() |
Returns all properties for an instance of this class.
|
int |
getYear() |
The year the album was recorded/released.
|
boolean |
isCompilation() |
Is this CD a compilation album?
|
void |
setArtist(String artist) |
The artist of the CD.
|
void |
setCompilation(boolean compilation) |
Is this CD a compilation album?
|
void |
setComposer(String composer) |
The composer of the CD.
|
void |
setDiscCount(int discCount) |
The total number of discs in this CD’s album.
|
void |
setDiscNumber(int discNumber) |
The index of this CD disc in the source album.
|
void |
setGenre(String genre) |
The genre of the CD.
|
void |
setYear(int year) |
The year the album was recorded/released.
|
getContainer, getId, getIndex, getKlass, getPersistentId
countArtworks, countArtworks, countTracks, countTracks, getArtwork, getArtwork, getArtworks, getArtworks, getDescription, getDuration, getName, getParent, getSize, getSpecialKind, getTime, getTrack, getTrack, getTracks, getTracks, isDisliked, isFavorited, isVisible, setDescription, setDisliked, setFavorited, setName
cast, getApplicationReference, getObjectReference, getTypeClass, isInstanceOf
static final TypeClass CLASS
@Kind("element") @Type("audio CD track") default AudioCdTrack[] getAudioCdTracks()
AudioCdTrack
s@Kind("element") @Type("audio CD track") AudioCdTrack[] getAudioCdTracks(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"AudioCdTrack
s@Kind("element") @Type("audio CD track") AudioCdTrack getAudioCdTrack(int index)
index
- index into the element list (zero-based)AudioCdTrack
at the requested index@Kind("element") @Type("audio CD track") AudioCdTrack getAudioCdTrack(Id id)
id
- id of the itemAudioCdTrack
with the requested id@Kind("element") @Type("audio CD track") default int countAudioCdTracks()
AudioCdTrack
s@Kind("element") @Type("audio CD track") int countAudioCdTracks(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Code("pArt") @Kind("property") @Name("artist") @Type("text") String getArtist()
@Code("pArt") @Kind("property") @Name("artist") @Type("text") void setArtist(String artist)
artist
- new property value@Code("pAnt") @Kind("property") @Name("compilation") @Type("boolean") boolean isCompilation()
@Code("pAnt") @Kind("property") @Name("compilation") @Type("boolean") void setCompilation(boolean compilation)
compilation
- new property value@Code("pCmp") @Kind("property") @Name("composer") @Type("text") String getComposer()
@Code("pCmp") @Kind("property") @Name("composer") @Type("text") void setComposer(String composer)
composer
- new property value@Code("pDsC") @Kind("property") @Name("disc count") @Type("integer") int getDiscCount()
@Code("pDsC") @Kind("property") @Name("disc count") @Type("integer") void setDiscCount(int discCount)
discCount
- new property value@Code("pDsN") @Kind("property") @Name("disc number") @Type("integer") int getDiscNumber()
@Code("pDsN") @Kind("property") @Name("disc number") @Type("integer") void setDiscNumber(int discNumber)
discNumber
- new property value@Code("pGen") @Kind("property") @Name("genre") @Type("text") String getGenre()
@Code("pGen") @Kind("property") @Name("genre") @Type("text") void setGenre(String genre)
genre
- new property value@Code("pYr ") @Kind("property") @Name("year") @Type("integer") int getYear()
@Code("pYr ") @Kind("property") @Name("year") @Type("integer") void setYear(int year)
year
- new property valueMap<String,Object> getProperties()
getProperties
in interface Item
getProperties
in interface Playlist