Class Culture
java.lang.Object
org.episteme.social.sociology.Culture
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named
Represents the cumulative shared elements of a social SociologicalGroup or civilization.
A culture encompasses values (beliefs), norms (rituals), and societal artifacts,
as well as identifying traits like language and technological sophistication.
Modernized to implement ComprehensiveIdentification and support dynamic traits and consistent identity.
* @version 1.2
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCelebration(String name) voidaddCelebration(Celebration celebration) booleanReturns an unmodifiable set of shared beliefs.Returns an unmodifiable set of celebrations.getId()Returns the unique identifier of this entity.Returns the primary language of this culture.intReturns the marital system classification.Returns an unmodifiable set of rituals.intReturns the technological advancement level.Returns the traits map for this entity.inthashCode()voidsetLanguage(Language language) voidsetMaritalType(int maritalType) voidsetTechnologicalLevel(int technologicalLevel) toString()Methods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
Culture
public Culture(String name, Language language, int technologicalLevel, Set<Belief> beliefs, Set<Celebration> celebrations, Set<Ritual> rituals, int maritalType, String comments) Creates a new Culture with specified traits.- Parameters:
name- civilization namelanguage- primary languagetechnologicalLevel- complexity levelbeliefs- set of shared beliefscelebrations- set of cultural celebrationsrituals- set of cultural ritualsmaritalType- preferred marital structurecomments- descriptive details- Throws:
NullPointerException- if any required argument is null
-
Culture
-
-
Method Details
-
getId
Description copied from interface:IdentifiedReturns the unique identifier of this entity.- Specified by:
getIdin interfaceIdentified<Identification>- 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
-
getLanguage
-
setLanguage
-
getTechnologicalLevel
public int getTechnologicalLevel()Returns the technological advancement level.- Returns:
- the level
-
setTechnologicalLevel
public void setTechnologicalLevel(int technologicalLevel) -
getBeliefs
-
getCelebrations
Returns an unmodifiable set of celebrations.- Returns:
- the celebrations
-
addCelebration
-
addCelebration
-
getRituals
-
getMaritalType
public int getMaritalType()Returns the marital system classification.- Returns:
- the marital type
-
setMaritalType
public void setMaritalType(int maritalType) -
equals
-
hashCode
-
toString
-