Class Organigram
java.lang.Object
org.episteme.social.economics.Organigram
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Temporal<TimeCoordinate>
public class Organigram
extends Object
implements ComprehensiveIdentification, Temporal<TimeCoordinate>
Represents a formal organizational structure (organigram).
This defines the intended hierarchy and grouping of workers within an organization.
Uses the graph-based RootedTree for hierarchical representation.
Modernized to implement ComprehensiveIdentification and follow new standards.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a worker to the organigram.booleanReturns all workers in the hierarchy.getId()Returns the unique identifier of this entity.Returns the hierarchical structure.Deprecated.Returns the traits map for this entity.getWhen()Returns the temporal position (when) of this entity.Returns the workers associated with this organigram.inthashCode()voidsetTimestamp(TimeCoordinate timestamp) toString()Methods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
Organigram
Creates a new Organigram.- Parameters:
name- the name of the organization or the root unit- Throws:
NullPointerException- if name is nullIllegalArgumentException- if name is empty
-
-
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
-
getWhen
Description copied from interface:TemporalReturns the temporal position (when) of this entity.- Specified by:
getWhenin interfaceTemporal<TimeCoordinate>- Returns:
- the temporal position.
-
setTimestamp
-
getTimestamp
-
getWorkers
-
addWorker
Adds a worker to the organigram.- Parameters:
worker- the worker to add
-
getStructure
Returns the hierarchical structure.- Returns:
- the rooted tree of unit names
-
getAllWorkers
-
toString
-
equals
-
hashCode
-