org.jscience.economics
Class Organization

java.lang.Object
  extended by org.jscience.biology.Population
      extended by org.jscience.psychology.social.Group
          extended by org.jscience.economics.Community
              extended by org.jscience.economics.Organization
All Implemented Interfaces:
Property, TaskProcessor, Identified, Positioned
Direct Known Subclasses:
Administration, Bank, Factory, Holding, PoliticalParty

public class Organization
extends Community
implements Property, Identified

A class representing an organization basic facts. It can be a company, a familly... or an individual (consumer).


Constructor Summary
Organization(java.lang.String name, Identification identification, java.util.Set owners, BusinessPlace place, java.util.Set accounts)
          Creates a new Organization object.
 
Method Summary
 void addAccount(Account account)
          DOCUMENT ME!
 void addClient(Organization organization)
          DOCUMENT ME!
 void addOwner(Human owner)
          DOCUMENT ME!
 void addProvider(Organization organization)
          DOCUMENT ME!
 void buyResources(Amount<Money> value, Organization otherParty, java.util.Set wantedResources)
          DOCUMENT ME!
 java.util.Set getAccounts()
          DOCUMENT ME!
 Amount<Money> getCapital()
          DOCUMENT ME!
 java.util.Set getClients()
          DOCUMENT ME!
 Identification getIdentification()
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 Organigram getOrganigram()
          DOCUMENT ME!
 java.util.Set getOwners()
          DOCUMENT ME!
 java.util.Set getProviders()
          DOCUMENT ME!
 Amount<Money> getValue()
          DOCUMENT ME!
 java.util.Set getWorkers()
          DOCUMENT ME!
 void removeAccount(Account account)
          DOCUMENT ME!
 void removeClient(Organization organization)
          DOCUMENT ME!
 void removeOwner(Human owner)
          DOCUMENT ME!
 void removeProvider(Organization organization)
          DOCUMENT ME!
 void setAccounts(java.util.Set accounts)
          DOCUMENT ME!
 void setCapital(Amount<Money> value)
          DOCUMENT ME!
 void setIdentification(Identification identification)
          DOCUMENT ME!
 void setName(java.lang.String name)
          DOCUMENT ME!
 void setOrganigram(Organigram organigram)
          DOCUMENT ME!
 void setOwners(java.util.Set owners)
          DOCUMENT ME!
 void setValue(Amount<Money> value)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.economics.Community
addResource, barterResources, consumeResources, getResources, removeResource, setResources
 
Methods inherited from class org.jscience.psychology.social.Group
addIndividual, getFormalTerritory, getLeaders, getRelation, removeIndividual, setFormalTerritory, setIndividuals, setLeaders, setRelation
 
Methods inherited from class org.jscience.biology.Population
getIndividuals, getPosition, getSpecies, getTerritory, isContained, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Organization

public Organization(java.lang.String name,
                    Identification identification,
                    java.util.Set owners,
                    BusinessPlace place,
                    java.util.Set accounts)
Creates a new Organization object.

Parameters:
name - DOCUMENT ME!
identification - DOCUMENT ME!
owners - DOCUMENT ME!
place - DOCUMENT ME!
accounts - DOCUMENT ME!
Method Detail

getName

public java.lang.String getName()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setName

public void setName(java.lang.String name)
DOCUMENT ME!

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

getIdentification

public Identification getIdentification()
DOCUMENT ME!

Specified by:
getIdentification in interface Identified
Returns:
DOCUMENT ME!

setIdentification

public void setIdentification(Identification identification)
DOCUMENT ME!

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

getValue

public Amount<Money> getValue()
DOCUMENT ME!

Specified by:
getValue in interface Property
Returns:
DOCUMENT ME!

setValue

public void setValue(Amount<Money> value)
DOCUMENT ME!

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

getOwners

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

Specified by:
getOwners in interface Property
Returns:
DOCUMENT ME!

addOwner

public void addOwner(Human owner)
DOCUMENT ME!

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

removeOwner

public void removeOwner(Human owner)
DOCUMENT ME!

Parameters:
owner - DOCUMENT ME!

setOwners

public void setOwners(java.util.Set owners)
DOCUMENT ME!

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

getOrganigram

public Organigram getOrganigram()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setOrganigram

public void setOrganigram(Organigram organigram)
DOCUMENT ME!

Parameters:
organigram - DOCUMENT ME!

getProviders

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

Returns:
DOCUMENT ME!

addProvider

public void addProvider(Organization organization)
DOCUMENT ME!

Parameters:
organization - DOCUMENT ME!

removeProvider

public void removeProvider(Organization organization)
DOCUMENT ME!

Parameters:
organization - DOCUMENT ME!

getClients

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

Returns:
DOCUMENT ME!

addClient

public void addClient(Organization organization)
DOCUMENT ME!

Parameters:
organization - DOCUMENT ME!

removeClient

public void removeClient(Organization organization)
DOCUMENT ME!

Parameters:
organization - DOCUMENT ME!

buyResources

public void buyResources(Amount<Money> value,
                         Organization otherParty,
                         java.util.Set wantedResources)
DOCUMENT ME!

Parameters:
value - DOCUMENT ME!
otherParty - DOCUMENT ME!
wantedResources - DOCUMENT ME!

getCapital

public Amount<Money> getCapital()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setCapital

public void setCapital(Amount<Money> value)
DOCUMENT ME!

Parameters:
value - DOCUMENT ME!

getAccounts

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

Returns:
DOCUMENT ME!

addAccount

public void addAccount(Account account)
DOCUMENT ME!

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

removeAccount

public void removeAccount(Account account)
DOCUMENT ME!

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

setAccounts

public void setAccounts(java.util.Set accounts)
DOCUMENT ME!

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

getWorkers

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

Returns:
DOCUMENT ME!