Class Organization
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>, SimulationAgent, Property, TaskProcessor
- Direct Known Subclasses:
Administration, Bank, Factory, Holding, PoliticalParty
Represents a formal social and economic entity (Company, NGO, Government).
Consolidates Economic and Sociological aspects.
Extends
to participate in simulations.
invalid reference
SocialEntity
- Since:
- 2.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
Fields inherited from class SocialCollective
cohesion, leader, members -
Constructor Summary
ConstructorsConstructorDescriptionOrganization(String id, String name, LocalDate foundedDate, OrganizationSector sector) Full Constructor.Organization(String name, Identification id, Set<EconomicAgent> owners, Place place, Set<Account> accounts) Constructor for Bank compatibility (detailed).Organization(String name, Place place, Money capital) Constructor for Bank compatibility (modern API).Organization(String name, OrganizationSector sector) Convenience Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDepartment(Organization dept) voidaddOwner(EconomicAgent owner) Returns the set of owners of this property.Returns the set of resources available to this processor.getValue()Returns the monetary value of this property.voidsetCapital(Money capital) voidsetIndustry(String industry) voidsetResources(Set<Resource> resources) voidsetSector(OrganizationSector sector) voidtoString()Methods inherited from class Community
addResource, barterResources, consumeResources, removeResourceMethods inherited from class PsychologicalGroup
getFormalTerritory, getLeaders, getRelation, getRelations, setFormalTerritory, setLeaders, setRelation, setRelationMethods inherited from class Population
addMember, countAlive, countBySex, countByStage, equals, filter, getAgeDistribution, getAverageAge, getAverageFecundity, getFounders, getIndividuals, getLocation, getOldestAge, getPosition, getSexRatio, getSpecies, getTerritory, getYoungestAge, hashCode, processEvent, setIndividuals, setTerritory, sizeMethods inherited from class SocialCollective
getCohesion, getLeader, getMembers, removeMember, setCohesion, setLeaderMethods inherited from class SocialEntity
getEngine, getId, getInfluence, getPrestige, getSimId, getTraits, interact, setEngine, setInfluence, setPrestigeMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
Organization
Full Constructor. -
Organization
Convenience Constructor. -
Organization
-
Organization
public Organization(String name, Identification id, Set<EconomicAgent> owners, Place place, Set<Account> accounts) Constructor for Bank compatibility (detailed).
-
-
Method Details
-
getValue
-
setValue
-
getCapital
-
setCapital
-
getOwners
Description copied from interface:PropertyReturns the set of owners of this property.- Specified by:
getOwnersin interfaceProperty- Returns:
- a Set of
EconomicAgentwho own this property
-
addOwner
-
getResources
Description copied from interface:TaskProcessorReturns the set of resources available to this processor.- Specified by:
getResourcesin interfaceTaskProcessor- Overrides:
getResourcesin classCommunity- Returns:
- the set of available resources.
-
setResources
- Overrides:
setResourcesin classCommunity
-
getFoundedDate
-
getSector
-
setSector
-
getIndustry
-
setIndustry
-
addDepartment
-
getDepartments
-
getOrganigram
-
toString
- Overrides:
toStringin classPopulation<Individual>
-