com.sun.syndication.feed.module.photocast.types
Class Metadata

java.lang.Object
  extended by com.sun.syndication.feed.module.photocast.types.Metadata

public class Metadata
extends java.lang.Object

This is an immutable class representing the apple-wallpapers:metadata tag in the photocast module.

Author:
Robert "kebernet" Cooper

Constructor Summary
Metadata(PhotoDate photoDate, java.lang.String comments)
          Creates a new instance of Metadata with a set photoDate and comments value.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getComments()
          Returns comments about the photo.
 PhotoDate getPhotoDate()
          Returns the PhotoDate value.
 int hashCode()
           
 java.lang.String toString()
          Returns a String representation of the metadata object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Metadata

public Metadata(PhotoDate photoDate,
                java.lang.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 java.lang.String getComments()
Returns comments about the photo.

Returns:
Returns comments about the photo.

toString

public java.lang.String toString()
Returns a String representation of the metadata object.

Overrides:
toString in class java.lang.Object
Returns:
Returns a String representation of the metadata object.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2006-2009. All Rights Reserved.