org.jscience.arts.hobbies
Class Hobbyist

java.lang.Object
  extended by org.jscience.sociology.Role
      extended by org.jscience.arts.hobbies.Hobbyist
All Implemented Interfaces:
Named

public final class Hobbyist
extends Role

A class representing a person who has hobbies (may be collecting objects or stuff).


Field Summary
 
Fields inherited from class org.jscience.sociology.Role
CLIENT, OBSERVER, SERVER, SUPERVISOR
 
Constructor Summary
Hobbyist(Individual individual, Situation situation)
          Creates a new Hobbyist object.
 
Method Summary
 void addCollection(Collection collection)
          DOCUMENT ME!
 void addHobby(Hobby hobby)
          DOCUMENT ME!
 java.util.Set getCollections()
          DOCUMENT ME!
 java.util.Set getHobbies()
          DOCUMENT ME!
 void removeCollection(Collection collection)
          DOCUMENT ME!
 void removeHobby(Hobby hobby)
          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

Hobbyist

public Hobbyist(Individual individual,
                Situation situation)
Creates a new Hobbyist object.

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

getHobbies

public java.util.Set getHobbies()
DOCUMENT ME!

Returns:
DOCUMENT ME!

addHobby

public void addHobby(Hobby hobby)
DOCUMENT ME!

Parameters:
hobby - DOCUMENT ME!

removeHobby

public void removeHobby(Hobby hobby)
DOCUMENT ME!

Parameters:
hobby - DOCUMENT ME!

getCollections

public java.util.Set getCollections()
DOCUMENT ME!

Returns:
DOCUMENT ME!

addCollection

public void addCollection(Collection collection)
DOCUMENT ME!

Parameters:
collection - DOCUMENT ME!

removeCollection

public void removeCollection(Collection collection)
DOCUMENT ME!

Parameters:
collection - DOCUMENT ME!