Class OrganizationTask

java.lang.Object
org.episteme.social.economics.Task
org.episteme.social.economics.OrganizationTask
All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named

public class OrganizationTask extends Task
A class representing the transformation of some materials and some human ressources into a finished something that can be sold. A product (whether primary or secondary, that is, already transformed) is a material thing. A service is a kind of immaterial product (like having a hair cut). Work is also known as task. Each task can in turn be divided further on into subtasks to further describe each process.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Constructor Details

    • OrganizationTask

      public OrganizationTask(String name, Set<Resource> resources, Set<Resource> products)
      Creates a new OrganizationTask object.
      Parameters:
      name - the name of the task
      resources - the set of required resources
      products - the set of resulting products
  • Method Details

    • getHumanCost

      public Real getHumanCost()
      Gets the human cost.
      Returns:
      the human cost
    • setHumanCost

      public void setHumanCost(Real cost)
      Sets the human cost.
      Parameters:
      cost - the human cost
    • getAdjustedCost

      public Money getAdjustedCost()
      Gets the adjusted cost.
      Returns:
      the adjusted cost
    • setAdjustedCost

      public void setAdjustedCost(Money cost)
      Sets the adjusted cost.
      Parameters:
      cost - the adjusted cost
    • getKind

      public int getKind()
      Gets the task kind.
      Returns:
      the kind
    • setKind

      public void setKind(int kind)
      Sets the task kind.
      Parameters:
      kind - the kind