PaP
Class Role

java.lang.Object
  |
  +--PaP.Role
All Implemented Interfaces:
java.io.Serializable

public class Role
extends java.lang.Object
implements java.io.Serializable

Implementation of Role, Unique identification of roles for actors

See Also:
Serialized Form

Field Summary
 java.lang.String roleId
          Role identification = the name of a manuscript = a class to be instantiated
 
Constructor Summary
Role(java.lang.String pRoleId)
          Creates a new Role with the specified role identifier.
 
Method Summary
 java.lang.String toString()
          Returns a string representation of this Role.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

roleId

public java.lang.String roleId
Role identification = the name of a manuscript = a class to be instantiated
Constructor Detail

Role

public Role(java.lang.String pRoleId)
Creates a new Role with the specified role identifier.
Parameters:
pRoleId - The role identifier.
Method Detail

toString

public java.lang.String toString()
Returns a string representation of this Role.
Overrides:
toString in class java.lang.Object
Returns:
A string that says roleId= .