Class Factory
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>, SimulationAgent, Property, TaskProcessor
An organization specialized in mass production and transformation of resources.
Models Taylorist and modern manufacturing structures.
* @version 1.2
- 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
ConstructorsConstructorDescriptionFactory(String name, Identification id, Set<EconomicAgent> owners, BusinessPlace place, Set<Account> accounts) Standard constructor for industrial organizations.Minimal constructor for modern simulation. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidaddProductionType(String typeName) Adds a type of product this factory is capable of manufacturing.voidaddResource(MaterialResource resource) Adds a resource to the factory's inventory.voidAdds a worker to the organization.booleancanProduce(String typeName) Checks if this factory is configured to produce a specific product type.Returns the set of resources currently held by the factory.Returns the organizational chart (stub for compatibility).Returns unmodifiable set of output products manufactured by this factory.Returns unmodifiable set of ingredients/input resources required for production.Returns the workers associated with this factory.Functional manufacturing step producing a material resource.Methods inherited from class Organization
addDepartment, addOwner, getCapital, getDepartments, getFoundedDate, getIndustry, 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
-
Factory
public Factory(String name, Identification id, Set<EconomicAgent> owners, BusinessPlace place, Set<Account> accounts) Standard constructor for industrial organizations. -
Factory
-
-
Method Details
-
getProductionResources
Returns unmodifiable set of ingredients/input resources required for production. -
addProductionResource
-
getProductionProducts
Returns unmodifiable set of output products manufactured by this factory. -
addProductionProduct
-
produce
Functional manufacturing step producing a material resource. -
addWorker
Adds a worker to the organization. -
addProductionType
Adds a type of product this factory is capable of manufacturing. -
canProduce
Checks if this factory is configured to produce a specific product type. -
getInventory
-
addResource
Adds a resource to the factory's inventory. -
getOrganigram
Returns the organizational chart (stub for compatibility).- Overrides:
getOrganigramin classOrganization
-
getWorkers
-