Class AlbumMedia

  • All Implemented Interfaces:
    Serializable

    public class AlbumMedia
    extends Object
    implements Serializable
    Represents a couple of an album and a media.

    It is useful when manipulating data that have just been created, updated or deleted.

    Author:
    silveryocha
    See Also:
    Serialized Form
    • Constructor Detail

      • AlbumMedia

        public AlbumMedia​(String albumId,
                          Media media)
    • Method Detail

      • getAlbumId

        public String getAlbumId()
        Gets the identifier of the album which has been concerned by the manipulation of the Media.
        Returns:
        a string.
      • getMedia

        public Media getMedia()
        The media.
        Returns:
        a Media.