Class Celebration
java.lang.Object
org.episteme.social.sociology.Situation
org.episteme.social.economics.EconomicSituation
org.episteme.social.economics.WorkSituation
org.episteme.social.sociology.Celebration
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>
Represents a cultural or religious celebration (feast, rite of passage, festival).
Celebrations are specialized social situations with identifying motives and designated participants.
* @version 2.0
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCelebration(String name) Legacy constructor.Celebration(String name, String comments, CelebrationKind kind, Date date) Creates a new Celebration. -
Method Summary
Modifier and TypeMethodDescriptiongetDate()Returns the date when the celebration occurs.getKind()Returns the categorical kind of this celebration.Returns the position of this entity.voidvoidsetKind(CelebrationKind kind) voidsetPosition(Place place) toString()Methods inherited from class WorkSituation
addRole, addWorkerMethods inherited from class EconomicSituation
addEconomicAgentMethods inherited from class Situation
addParticipant, addParticipant, equals, getId, getIdentification, getRoles, getTraits, hashCode, removeParticipantMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
Celebration
Creates a new Celebration.- Parameters:
name- the name of the festival or eventcomments- descriptive detailskind- the category of celebrationdate- the scheduled occurrence date- Throws:
NullPointerException- if mandatory arguments are null
-
Celebration
Legacy constructor.
-
-
Method Details
-
getPosition
Description copied from interface:PositionedReturns the position of this entity.- Specified by:
getPositionin interfacePositioned<Place>- Overrides:
getPositionin classSituation- Returns:
- the position.
-
setPosition
- Overrides:
setPositionin classSituation
-
getKind
Returns the categorical kind of this celebration.- Returns:
- the celebration kind
-
setKind
-
getDate
-
setDate
-
toString
-