|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.sociology.Role
org.jscience.economics.EconomicAgent
public class EconomicAgent
A class representing a consumer basic facts.
| Field Summary |
|---|
| Fields inherited from class org.jscience.sociology.Role |
|---|
CLIENT, OBSERVER, SERVER, SUPERVISOR |
| Constructor Summary | |
|---|---|
|
EconomicAgent(Individual individual,
EconomicSituation situation)
Creates a new EconomicAgent object. |
protected |
EconomicAgent(Individual individual,
java.lang.String name,
EconomicSituation situation,
int kind)
Creates a new EconomicAgent object. |
| Method Summary | |
|---|---|
void |
addBelonging(Resource belonging)
DOCUMENT ME! |
java.util.Set |
getBelongings()
DOCUMENT ME! |
Community |
getCommunity()
DOCUMENT ME! |
Wallet |
getWallet()
DOCUMENT ME! |
void |
removeBelonging(Resource belonging)
DOCUMENT ME! |
void |
setBelongings(java.util.Set belongings)
DOCUMENT ME! |
void |
setWallet(Wallet wallet)
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 |
|---|
public EconomicAgent(Individual individual,
EconomicSituation situation)
individual - DOCUMENT ME!situation - DOCUMENT ME!
protected EconomicAgent(Individual individual,
java.lang.String name,
EconomicSituation situation,
int kind)
individual - DOCUMENT ME!name - DOCUMENT ME!situation - DOCUMENT ME!kind - DOCUMENT ME!| Method Detail |
|---|
public java.util.Set getBelongings()
public void addBelonging(Resource belonging)
belonging - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!public void removeBelonging(Resource belonging)
belonging - DOCUMENT ME!public void setBelongings(java.util.Set belongings)
belongings - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!public Wallet getWallet()
public void setWallet(Wallet wallet)
wallet - DOCUMENT ME!public Community getCommunity()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||