jawiro
Class AggregateRole

java.lang.Object
  extended by jawiro.Role
      extended by jawiro.AggregateRole
All Implemented Interfaces:
java.io.Serializable, RoleInterface

public class AggregateRole
extends Role

An entity can have more than one instance of the same role type. Such roles are called aggregate roles and distinguished from each other with an identifier of type String. Therefore the constructor of an aggregate role type must accept a String parameter and call super(String). The jawiro.AggregateRole class is otherwise the same as the jawiro.Role class.


Field Summary
 java.lang.String identifier
          The identifier which is used for distinguishing the instances of the same aggregate role type from each other.
 
Fields inherited from class jawiro.Role
myClass, myClassName
 
Constructor Summary
AggregateRole(java.lang.String s)
           
 
Method Summary
 
Methods inherited from class jawiro.Role
addRole, as, as, as, as, bringLocalMember, bringMember, canDelegate, canSwitch, canSwitch, canSwitch, canSwitch, dominateSearch, executeLocalMethod, executeMethod, getActor, getClassName, getDepth, getOwnerClassName, getRoleList, getSelf, isDominant, isSuspended, playedBy, receiveRole, resign, resume, suspend, transfer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

identifier

public final java.lang.String identifier
The identifier which is used for distinguishing the instances of the same aggregate role type from each other.

Constructor Detail

AggregateRole

public AggregateRole(java.lang.String s)
Parameters:
s - The identifier of this jawiro.AggregateRole instance.