Class Task
java.lang.Object
org.episteme.social.economics.Task
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named
- Direct Known Subclasses:
OrganizationTask
Represents a transformation process where materials and human resources are
converted into finished products or services.
A task can be subdivided into hierarchies of subtasks. Each task requires a set of resources and produces a set of resulting resources (products).
Even the most basic work requires some resources (e.g., scissors for hair cutting). In many cases, these resources are "recycled" or remain available after the task, in which case they should appear in both the input resources and output products sets.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProduct(Resource product) voidaddResource(Resource resource) voidaddSubTask(Task task) getId()Returns the unique identifier of this entity.getName()Returns the traits map for this entity.voidremoveSubTask(Task task) voidsetDuration(Real duration) voidsetProcess(String process) voidsetSubTasks(Set<Task> tasks) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getTrait, setName, setTrait
-
Constructor Details
-
Task
-
Task
-
-
Method Details
-
getId
Description copied from interface:IdentifiedReturns the unique identifier of this entity.- Specified by:
getIdin interfaceIdentified<Identification>- Returns:
- the identifier
-
getTraits
Description copied from interface:ComprehensiveIdentificationReturns the traits map for this entity.- Specified by:
getTraitsin interfaceCommented- Specified by:
getTraitsin interfaceComprehensiveIdentification- Returns:
- the traits map
-
getName
- Specified by:
getNamein interfaceComprehensiveIdentification- Specified by:
getNamein interfaceNamed
-
getProcess
-
setProcess
-
getSubTasks
-
addSubTask
-
removeSubTask
-
setSubTasks
-
getResources
-
getDuration
-
setDuration
-
getProducts
-
addResource
-
addProduct
-