Class Conflict
java.lang.Object
org.episteme.social.politics.Conflict
- All Implemented Interfaces:
Serializable, Commented, Named, Positioned<Place>, Temporal<TimeCoordinate>
public class Conflict
extends Object
implements Named, Commented, Positioned<Place>, Temporal<TimeCoordinate>, Serializable
Represents a political or social conflict between multiple populations or groups.
Tracks temporal span, geographical location, and participating parties.
* @version 1.1
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConflict(String name, Set<PsychologicalGroup> involvedGroups, Place place, TimeCoordinate startingDate) Creates a new Conflict. -
Method Summary
Modifier and TypeMethodDescriptionReturns the comments associated with this object.Returns the timestamp when the conflict was resolved or ceased.Returns an unmodifiable set of participating groups.getName()getPlace()Returns the primary geographical location.Returns the position of this entity.Returns the exact starting timestamp.Returns the map of traits/attributes for this object.getWhen()Returns the temporal position (when) of this entity.voidsetComments(String comments) Sets the comments for this object.voidsetEndDate(TimeCoordinate endDate) Sets the timestamp for conflict resolution.voidUpdates the name of the conflict.voidUpdates the conflict's primary location.toString()
-
Constructor Details
-
Conflict
public Conflict(String name, Set<PsychologicalGroup> involvedGroups, Place place, TimeCoordinate startingDate) Creates a new Conflict.- Parameters:
name- the name of the conflictinvolvedGroups- groups participating in the conflictplace- the primary location of the conflictstartingDate- the timestamp when the conflict began- Throws:
NullPointerException- if any mandatory argument is nullIllegalArgumentException- if name is empty or no groups are involved
-
-
Method Details
-
getName
-
setName
-
getGroups
Returns an unmodifiable set of participating groups.- Returns:
- the involved groups
-
getPosition
Description copied from interface:PositionedReturns the position of this entity.- Specified by:
getPositionin interfacePositioned<Place>- Returns:
- the position.
-
getPlace
-
setPlace
Updates the conflict's primary location.- Parameters:
place- the new location
-
getWhen
Description copied from interface:TemporalReturns the temporal position (when) of this entity.- Specified by:
getWhenin interfaceTemporal<TimeCoordinate>- Returns:
- the temporal position.
-
getStartingDate
Returns the exact starting timestamp.- Returns:
- starting date
-
getEndDate
Returns the timestamp when the conflict was resolved or ceased.- Returns:
- end date, or null if ongoing
-
setEndDate
Sets the timestamp for conflict resolution.- Parameters:
endDate- the resolution date
-
getComments
Description copied from interface:CommentedReturns the comments associated with this object. Maps to a "comments" trait.- Specified by:
getCommentsin interfaceCommented- Returns:
- the comments
-
setComments
Description copied from interface:CommentedSets the comments for this object. Maps to a "comments" trait.- Specified by:
setCommentsin interfaceCommented- Parameters:
comments- the comments to set
-
getTraits
-
toString
-