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