Class Culture

java.lang.Object
org.episteme.social.sociology.Culture
All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named

public class Culture extends Object implements ComprehensiveIdentification
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 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 name
      language - primary language
      technologicalLevel - complexity level
      beliefs - set of shared beliefs
      celebrations - set of cultural celebrations
      rituals - set of cultural rituals
      maritalType - preferred marital structure
      comments - descriptive details
      Throws:
      NullPointerException - if any required argument is null
    • Culture

      public Culture(String name, Language language)
      Legacy constructor.
  • Method Details

    • getId

      public Identification getId()
      Description copied from interface: Identified
      Returns the unique identifier of this entity.
      Specified by:
      getId in interface Identified<Identification>
      Returns:
      the identifier
    • getTraits

      public Map<String,Object> getTraits()
      Description copied from interface: ComprehensiveIdentification
      Returns the traits map for this entity.
      Specified by:
      getTraits in interface Commented
      Specified by:
      getTraits in interface ComprehensiveIdentification
      Returns:
      the traits map
    • getLanguage

      public Language getLanguage()
      Returns the primary language of this culture.
      Returns:
      the language
    • setLanguage

      public void setLanguage(Language language)
    • getTechnologicalLevel

      public int getTechnologicalLevel()
      Returns the technological advancement level.
      Returns:
      the level
    • setTechnologicalLevel

      public void setTechnologicalLevel(int technologicalLevel)
    • getBeliefs

      public Set<Belief> getBeliefs()
      Returns an unmodifiable set of shared beliefs.
      Returns:
      the beliefs
    • getCelebrations

      public Set<Celebration> getCelebrations()
      Returns an unmodifiable set of celebrations.
      Returns:
      the celebrations
    • addCelebration

      public void addCelebration(Celebration celebration)
    • addCelebration

      public void addCelebration(String name)
    • getRituals

      public Set<Ritual> getRituals()
      Returns an unmodifiable set of rituals.
      Returns:
      the rituals
    • getMaritalType

      public int getMaritalType()
      Returns the marital system classification.
      Returns:
      the marital type
    • setMaritalType

      public void setMaritalType(int maritalType)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object