Class Metadata


  • public class Metadata
    extends Object
    This is an immutable class representing the apple-wallpapers:metadata tag in the photocast module.
    • Constructor Detail

      • Metadata

        public Metadata​(PhotoDate photoDate,
                        String comments)
        Creates a new instance of Metadata with a set photoDate and comments value.
        Parameters:
        photoDate - PhotoDate value to use
        comments - comments about this photo.
    • Method Detail

      • getPhotoDate

        public PhotoDate getPhotoDate()
        Returns the PhotoDate value.
        Returns:
        Returns the PhotoDate value.
      • getComments

        public String getComments()
        Returns comments about the photo.
        Returns:
        Returns comments about the photo.
      • toString

        public String toString()
        Returns a String representation of the metadata object.
        Overrides:
        toString in class Object
        Returns:
        Returns a String representation of the metadata object.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object