Class WorkSituation

All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>
Direct Known Subclasses:
Celebration, LawSuitSituation, MedicalSituation

public class WorkSituation extends EconomicSituation
Represents a work situation where individuals interact around a common economic activity, typically at dedicated workplaces.

This class extends EconomicSituation to model employment relationships and workplace dynamics. Use this class when you need finer control over work-related situations than provided by org.episteme.social.sociology.Situations.WORKING.

* @see EconomicSituation
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Constructor Details

    • WorkSituation

      public WorkSituation(String name, String comments)
      Creates a new work situation.

      Use the organization name (or a part of it for large organizations) as the situation name for clarity.

      Parameters:
      name - the name of the work situation, typically the organization name.
      comments - additional comments or description of this work situation.
  • Method Details

    • addWorker

      public void addWorker(Individual individual, String function, Organization organization)
      Adds an individual as a worker to this work situation.

      This method creates a new Worker role for the individual and associates them with the specified function and organization.

      Parameters:
      individual - the individual to add as a worker.
      function - the job function or role title of the worker.
      organization - the organization employing the worker.
    • addRole

      public void addRole(Role role)
      Directly adds a role to this situation.
      Overrides:
      addRole in class EconomicSituation
      Parameters:
      role - the role to add