Class HistoricalEvent
java.lang.Object
org.episteme.social.history.Event
org.episteme.social.history.HistoricalEvent
- All Implemented Interfaces:
Serializable, Comparable<Event>, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>, Temporal<TimeCoordinate>
Represents a significant historical event with support for imprecise dating and duration.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionHistoricalEvent(String name, String description, TimeCoordinate startDate, TimeCoordinate endDate, EventCategory category, Place location) HistoricalEvent(String name, TimeCoordinate date, EventCategory category) -
Method Summary
Modifier and TypeMethodDescriptionReturns the position of this entity.booleanoverlaps(HistoricalEvent other) toString()Methods inherited from class Event
compareTo, equals, getCategory, getDescription, getId, getTraits, getWhen, happensAfter, happensBefore, hashCodeMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
HistoricalEvent
public HistoricalEvent(String name, String description, TimeCoordinate startDate, TimeCoordinate endDate, EventCategory category, Place location) -
HistoricalEvent
-
-
Method Details
-
getStartDate
-
getEndDate
-
getPosition
Description copied from interface:PositionedReturns the position of this entity.- Specified by:
getPositionin interfacePositioned<Place>- Returns:
- the position.
-
overlaps
-
toString
-