Class Holding
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>, SimulationAgent, Property, TaskProcessor
An organization that owns and controls multiple other companies (organizations).
Models conglomerate and holding structures.
* @version 1.1
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
Fields inherited from class SocialCollective
cohesion, leader, members -
Constructor Summary
ConstructorsConstructorDescriptionHolding(String name, Identification id, Set<EconomicAgent> owners, BusinessPlace place, Set<Account> accounts, Set<Organization> organizations) Initializes a holding company. -
Method Summary
Modifier and TypeMethodDescriptionvoidReturns unmodifiable set of owned organizations.voidMethods inherited from class Organization
addDepartment, addOwner, getCapital, getDepartments, getFoundedDate, getIndustry, getOrganigram, getOwners, getResources, getSector, getValue, setCapital, setIndustry, setResources, setSector, setValue, toStringMethods 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
-
Holding
public Holding(String name, Identification id, Set<EconomicAgent> owners, BusinessPlace place, Set<Account> accounts, Set<Organization> organizations) Initializes a holding company.- Parameters:
organizations- the fleet of companies initially held
-
-
Method Details
-
getOrganizations
Returns unmodifiable set of owned organizations. -
addOrganization
-
removeOrganization
-