|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stanwood.media.model.Actor
public class Actor
Used to store information on actors
Constructor Summary | |
---|---|
Actor()
The constructor |
|
Actor(java.lang.String name,
java.lang.String role)
The constructor used to create a instance of the class |
Method Summary | |
---|---|
java.lang.String |
getName()
Used to get the name of the actor |
java.lang.String |
getRole()
Used to get the role the actor played |
void |
setName(java.lang.String name)
Used to set the actor name |
void |
setRole(java.lang.String role)
Used to set the actor role |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Actor(java.lang.String name, java.lang.String role)
name
- The name of the actorrole
- The role the actor playedpublic Actor()
Method Detail |
---|
public java.lang.String getName()
public java.lang.String getRole()
public void setName(java.lang.String name)
name
- The actor namepublic void setRole(java.lang.String role)
role
- The actor role
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |