// element type: Role
this.title = title; releaseDate = release; runningTime = duration; this.rating = rating; this.genres = genres; cast = new HashSet();
cast.add(role);
return yearFmt.format(releaseDate);
return Collections.unmodifiableSet(cast);
return genres;
return rating;
return releaseDate;
return runningTime;
return title;
return webSite;
Date date = null; try { date = yearFmt.parse(val); } catch(java.text.ParseException exc){ } return date;
webSite = site;