Class Timeline<E extends Event>
java.lang.Object
org.episteme.social.history.Timeline<E>
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named
- Direct Known Subclasses:
GeologicalTimeScale, HistoricalTimeline, HumanTimeline
A sequence or collection of events organized in time.
Modernized to implement ComprehensiveIdentification for dynamic traits and consistent identity.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetEventsBetween(TimeCoordinate start, TimeCoordinate end) getId()Returns the unique identifier of this entity.Returns the traits map for this entity.inthashCode()booleanremoveEvent(E event) toString()Methods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Field Details
-
events
-
-
Constructor Details
-
Timeline
-
Timeline
public Timeline()
-
-
Method Details
-
getId
Description copied from interface:IdentifiedReturns the unique identifier of this entity.- Specified by:
getIdin interfaceIdentified<E extends Event>- 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
-
addEvent
-
removeEvent
-
getEvents
-
getEventsBetween
-
getEarliestEvent
-
getLatestEvent
-
equals
-
hashCode
-
toString
-