Class Human
java.lang.Object
org.episteme.natural.biology.SocialEntity
org.episteme.natural.biology.Individual
org.episteme.social.sociology.Human
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>, SimulationAgent
- Direct Known Subclasses:
Person
Represents a human individual.
Combines biological biometric data with historical and biographical records.
Modernized to use Real for measurements and ExtensibleEnums for biometric traits.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionHuman(String id, BiologicalSex sex) Human(String id, BiologicalSex sex, LocalDate birthDate) Helper constructor for String IDs.Human(Identification id, BiologicalSex sex) Human(Identification id, BiologicalSex sex, LocalDate birthDate) Creates a new human with a specific ID.Human(Identification id, BiologicalSex sex, LocalDate birthDate, EventDrivenEngine engine) Creates a new human with a specific ID and simulation engine.Human(BiologicalSex sex, LocalDate birthDate) Creates a new human with a generated UUID. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAchievement(String achievement) booleancanReceiveBloodFrom(BloodType donor) Quantity<?> getBMI()getBSA()getTitle()voidsetBiographicalSummary(String summary) voidsetBirthWhen(TimeCoordinate birthWhen) voidsetBloodType(BloodType bloodType) voidsetDeathWhen(TimeCoordinate deathWhen) voidsetEthnicity(String ethnicity) voidsetEyeColor(String eyeColor) voidsetGivenName(String givenName) voidsetHairColor(String hairColor) voidvoidsetHeightMeters(double meters) voidsetHeightMeters(Real meters) voidsetLastName(String lastName) voidsetNationality(String nationality) voidsetPersonality(BigFiveProfile personality) voidvoidsetUsedName(String usedName) voidvoidsetWeightKg(double kg) voidsetWeightKg(Real kg) toString()Methods inherited from class Individual
addAvailableBehavior, addChild, addParent, addPathology, addRole, calculateInbreedingCoefficient, calculateRelationshipCoefficient, calculateSuccessionOrder, clone, die, equals, getAge, getAncestors, getAvailableBehaviors, getBiographySummary, getBirthDate, getChildren, getDeathDate, getDescendants, getGenealogicalDistance, getLifeStage, getParents, getPathologies, getPosition, getReproductionMode, getSex, getSiblings, getSpecies, getTerritory, hashCode, isAlive, isAncestorOf, isDescendantOf, isSiblingOf, processEvent, removeAvailableBehavior, setBiographySummary, setDeathDate, setLifeStage, setPosition, setReproductionMode, setTerritoryMethods inherited from class SocialEntity
getEngine, getId, getInfluence, getPrestige, getSimId, getTraits, interact, setEngine, setInfluence, setPrestigeMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
Human
Creates a new human with a specific ID. -
Human
Creates a new human with a specific ID and simulation engine. -
Human
Helper constructor for String IDs. -
Human
Creates a new human with a generated UUID. -
Human
-
Human
-
-
Method Details
-
getBloodType
-
setBloodType
-
getEthnicity
-
setEthnicity
-
getHeight
-
setHeight
-
setHeightMeters
-
setHeightMeters
public void setHeightMeters(double meters) -
getWeight
-
setWeight
-
setWeightKg
-
setWeightKg
public void setWeightKg(double kg) -
getEyeColor
-
setEyeColor
-
getHairColor
-
setHairColor
-
getGivenName
-
setGivenName
-
getLastName
-
setLastName
-
getUsedName
-
setUsedName
-
getFullName
-
getPersonality
-
setPersonality
-
getTitle
-
setTitle
-
getNationality
-
setNationality
-
getBirthWhen
-
setBirthWhen
-
getDeathWhen
-
setDeathWhen
-
getBiographicalSummary
-
setBiographicalSummary
-
getAchievements
-
addAchievement
-
getBMI
-
getBMICategory
-
getBSA
-
canReceiveBloodFrom
-
toString
- Overrides:
toStringin classIndividual
-