public class Role extends BiographyItem
Person object, and describes a part that this person
played in a particular movie (as actor or actress). Role is a subclass of
BiographyItem, so all of the notes there apply. Role extends
BiographyItem with information about the character that this person
played in this movie, and the position at which they appear in the credits.
When you look at a Movie object, the actors on that movie are given as
a list of CreditActor objects. So CreditActor is like Role,
but in the opposite direction (from a movie to a person).
| Constructor and Description |
|---|
Role() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCharacter()
Gets the name of
the character that this person played in this movie.
|
Integer |
getPosition()
|
getMovieId, getNote, getTitle, toStringpublic String getCharacter()
public Integer getPosition()
Copyright © 2017. All rights reserved.