Class PositionedEvent
java.lang.Object
org.episteme.social.history.Event
org.episteme.social.history.PositionedEvent
- All Implemented Interfaces:
Serializable, Comparable<Event>, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>, Temporal<TimeCoordinate>
An event that also has a geographical position.
Focuses on the association with a
Place.- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionPositionedEvent(String name, String description, TimeCoordinate when, Place position, EventCategory category) PositionedEvent(String name, TimeCoordinate when, Place position) -
Method Summary
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
-
PositionedEvent
public PositionedEvent(String name, String description, TimeCoordinate when, Place position, EventCategory category) -
PositionedEvent
-
-
Method Details
-
getPosition
Returns the place where this event occurred.- Specified by:
getPositionin interfacePositioned<Place>- Returns:
- the position as a Place
-
toString
-