Methods Summary |
---|
public void | addMediaItem(com.mediamania.store.MediaItem item)
mediaItems.add(item);
|
public java.lang.String | formatReleaseDate()
return yearFmt.format(releaseDate);
|
public java.lang.String | getDescription()
StringBuffer buffer = new StringBuffer();
buffer.append(title);
buffer.append(", ");
buffer.append(studio.getName());
buffer.append(", release date: ");
buffer.append(formatReleaseDate());
buffer.append(", rating: ");
buffer.append(rating);
buffer.append(", reasons for rating: ");
buffer.append(ratingReasons);
return buffer.toString();
|
public java.util.Set | getMediaItems()
return Collections.unmodifiableSet(mediaItems);
|
public java.lang.String | getRating()
return rating;
|
public java.lang.String | getRatingReasons()
return ratingReasons;
|
public java.util.Date | getReleaseDate()
return releaseDate;
|
public Studio | getStudio()
return studio;
|
public java.lang.String | getTitle()
return title;
|
public static java.util.Date | parseReleaseDate(java.lang.String val)
Date date = null;
try {
date = yearFmt.parse(val);
} catch (java.text.ParseException exc) { }
return date;
|
public abstract boolean | validRating(java.lang.String rating)
|