net.commerce.zocalo.experiment.role
Class TraderRole

java.lang.Object
  extended by net.commerce.zocalo.experiment.role.Role
      extended by net.commerce.zocalo.experiment.role.TraderRole
Direct Known Subclasses:
BorrowerRole

public class TraderRole
extends Role

TraderRole indicates that Traders are the normal case.


Constructor Summary
TraderRole(java.lang.String roleName)
           
 
Method Summary
 AbstractSubject createSubject(User user, int rounds, java.lang.String playerName)
           
 java.lang.String roleKeyword()
           
 
Methods inherited from class net.commerce.zocalo.experiment.role.Role
canBuy, canBuy, canSell, canSell, dormant, dormantPeriods, getInitialCash, getInitialCoupons, initializeDormancy, initializeFromProps, needsUser, requiresJudges, setInitialCash, setInitialCoupons
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraderRole

public TraderRole(java.lang.String roleName)
Method Detail

roleKeyword

public java.lang.String roleKeyword()
Specified by:
roleKeyword in class Role

createSubject

public AbstractSubject createSubject(User user,
                                     int rounds,
                                     java.lang.String playerName)
Specified by:
createSubject in class Role