import java.io.*; import java.util.*; import COM.odi.*; import COM.odi.coll.*; import COM.odi.util.OSVector; public class Movie { // Data members String title; int year; int length; char filmType; // 'c' for color and 'b' for black and white OSVector stars; // collection of Stars in the Movie Studio ownedBy; // studio which owns the movie // Methods public Movie(String t, int y, int l, char f, Studio d){ title = t; year = y; length = l; filmType = f; stars = new OSVector(); ownedBy = d; } public void addStar(Star s){ stars.add(s); } public String getTitle() { return title; }; public int getLength() { return length; }; public char getFilmType() { return filmType; }; public int getNumStars() { return stars.size(); }; public OSVector getStars(){ return stars; } public Studio getStudio(){ return ownedBy; } }