@Test public void testGetTracksInitiallyEmpty() throws Exception { assertEquals(0, pub.getTracks().length); }
@Override public Track[] getTracks() { return tracks.toArray(new Track[tracks.size()]); }
PublicationImpl extends AbstractMediaPackageElement implements Publication { @Override public Track[] getTracks() { return tracks.toArray(new Track[tracks.size()]); } }
PublicationImpl extends AbstractMediaPackageElement implements Publication { @Override public Track[] getTracks() { return tracks.toArray(new Track[tracks.size()]); } PublicationImpl();  PublicationImpl(String id, String channel, URI uri, MimeType mimeType); }
PublicationImpl extends AbstractMediaPackageElement implements Publication { @Override public Track[] getTracks() { return tracks.toArray(new Track[tracks.size()]); } PublicationImpl();  PublicationImpl(String id, String channel, URI uri, MimeType mimeType); static Publication publication(String id, String channel, URI uri, MimeType mimeType); @Override String getChannel(); @Override Track[] getTracks(); @Override void addTrack(Track track); @Override Attachment[] getAttachments(); @Override void addAttachment(Attachment attachment); @Override void removeAttachmentById(String attachmentId); @Override Catalog[] getCatalogs(); @Override void addCatalog(Catalog catalog); @Override void clearTracks(); @Override void setFlavor(MediaPackageElementFlavor flavor); static void addElementToPublication(Publication publication, MediaPackageElement element); }
PublicationImpl extends AbstractMediaPackageElement implements Publication { @Override public Track[] getTracks() { return tracks.toArray(new Track[tracks.size()]); } PublicationImpl();  PublicationImpl(String id, String channel, URI uri, MimeType mimeType); static Publication publication(String id, String channel, URI uri, MimeType mimeType); @Override String getChannel(); @Override Track[] getTracks(); @Override void addTrack(Track track); @Override Attachment[] getAttachments(); @Override void addAttachment(Attachment attachment); @Override void removeAttachmentById(String attachmentId); @Override Catalog[] getCatalogs(); @Override void addCatalog(Catalog catalog); @Override void clearTracks(); @Override void setFlavor(MediaPackageElementFlavor flavor); static void addElementToPublication(Publication publication, MediaPackageElement element);  }