org.jscience.sociology
Class Member

java.lang.Object
  extended by org.jscience.sociology.Role
      extended by org.jscience.sociology.Member
All Implemented Interfaces:
Named

public class Member
extends Role

The Member class provides someone who is part of a ritual.


Field Summary
 
Fields inherited from class org.jscience.sociology.Role
CLIENT, OBSERVER, SERVER, SUPERVISOR
 
Constructor Summary
Member(Individual individual, Celebration situation)
          Creates a new Member object.
 
Method Summary
 Money getPrice()
          DOCUMENT ME!
 void setPrice(Money price)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.sociology.Role
getIndividual, getKind, getName, getSituation, setSituation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Member

public Member(Individual individual,
              Celebration situation)
Creates a new Member object.

Parameters:
individual - DOCUMENT ME!
situation - DOCUMENT ME!
Method Detail

getPrice

public Money getPrice()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setPrice

public void setPrice(Money price)
DOCUMENT ME!

Parameters:
price - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!