Class Person
java.lang.Object
org.episteme.natural.biology.SocialEntity
org.episteme.natural.biology.Individual
org.episteme.social.sociology.Human
org.episteme.social.sociology.Person
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>, SimulationAgent
Represents a human individual as a social agent.
Extends Human directly.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionPerson(String name, BiologicalSex sex) Convenience constructor.Person(Identification id, String name, BiologicalSex sex, LocalDate birthDate, String nationality) Person(Identification id, String name, BiologicalSex sex, LocalDate birthDate, String nationality, EventDrivenEngine engine) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidgetRoles()voidremoveRole(Role role) voidremoveSpouse(Person spouse) voidsetAddress(String address) voidvoidsetNationality(String nationality) voidvoidtoString()Methods inherited from class Human
addAchievement, canReceiveBloodFrom, getAchievements, getBiographicalSummary, getBirthWhen, getBloodType, getBMI, getBMICategory, getBSA, getDeathWhen, getEthnicity, getEyeColor, getFullName, getGivenName, getHairColor, getHeight, getLastName, getPersonality, getTitle, getUsedName, getWeight, setBiographicalSummary, setBirthWhen, setBloodType, setDeathWhen, setEthnicity, setEyeColor, setGivenName, setHairColor, setHeight, setHeightMeters, setHeightMeters, setLastName, setPersonality, setTitle, setUsedName, setWeight, setWeightKg, setWeightKgMethods 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
-
Person
public Person(Identification id, String name, BiologicalSex sex, LocalDate birthDate, String nationality) -
Person
public Person(Identification id, String name, BiologicalSex sex, LocalDate birthDate, String nationality, EventDrivenEngine engine) -
Person
-
Person
Convenience constructor.
-
-
Method Details
-
getGender
-
setGender
-
getNationality
- Overrides:
getNationalityin classHuman
-
setNationality
- Overrides:
setNationalityin classHuman
-
getRoles
-
getWealth
-
setWealth
-
earn
-
spend
-
getSpouses
-
addSpouse
-
removeSpouse
-
addRole
-
removeRole
-
getAddress
-
setAddress
-
toString
-