FileDocCategorySizeDatePackage
Actor.javaAPI DocExample544Sat Aug 17 16:00:00 BST 2002com.mediamania.prototype

Actor

public class Actor extends Object

Fields Summary
private String
name
private Set
roles
Constructors Summary
private Actor()

 
public Actor(String name)

    this.name = name;
    roles = new HashSet();
Methods Summary
public voidaddRole(Role role)

    roles.add(role);
public java.lang.StringgetName()

    return name;
public java.util.SetgetRoles()

    return Collections.unmodifiableSet(roles);
public voidremoveRole(Role role)

    roles.remove(role);