public class Song extends ActivityObject
The "song" Object type represents a song or a recording of a song.
Objects of type Song might contain information about the song or recording, or they might contain some representation of the recording itself. In the latter case, the song SHOULD also be annotated with the "audio" object type as described in Section 3.2.2 (Audio) and use its properties. This type should only be used when the publisher can guarantee that the object is a song rather than merely a generic audio stream.
The Object type URL for the "song" Object type is http://activitystrea.ms/schema/1.0/song.
A song has no additional components.
Constructor and Description |
---|
Song() |
Modifier and Type | Method and Description |
---|---|
Audio |
getAudio()
Get the value of audio
|
String |
getTypeIRI() |
void |
setAudio(Audio newaudio)
Set the value of audio
|
getAddress, getLocation, setAddress, setLocation
clone, equals, findRelatedLink, getAlternateLinks, getAuthors, getCategories, getContents, getContributors, getCreated, getForeignMarkup, getId, getIssued, getModified, getModule, getModules, getOtherLinks, getPublished, getRights, getSource, getSummary, getTitle, getTitleEx, getUpdated, getXmlBase, hashCode, isMediaEntry, setAlternateLinks, setAuthors, setCategories, setContents, setContributors, setCreated, setForeignMarkup, setId, setIssued, setModified, setModules, setOtherLinks, setPublished, setRights, setSource, setSummary, setTitle, setTitleEx, setUpdated, setXmlBase, toString
public void setAudio(Audio newaudio)
newaudio
- new value of audiopublic Audio getAudio()
public String getTypeIRI()
getTypeIRI
in class ActivityObject
Copyright © 2020. All rights reserved.