Modifier and Type | Field and Description |
---|---|
private String |
id |
private Set<Movie> |
movies |
private Person |
person |
Modifier | Constructor and Description |
---|---|
protected |
Director() |
|
Director(Person person) |
Modifier and Type | Method and Description |
---|---|
Director |
addMovie(Movie... movie) |
boolean |
equals(Object obj) |
Date |
getBirthDate() |
String |
getFirstName() |
String |
getLastName() |
Set<Movie> |
getMovies() |
Person |
getPerson() |
int |
hashCode() |
Director |
setBirthDate(Date date) |
Director |
setFirstName(String name) |
Director |
setLastName(String name) |
protected void |
setMovies(Set<Movie> movies) |
String |
toString() |
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.