Class Behavior
java.lang.Object
org.episteme.social.psychology.Behavior
- All Implemented Interfaces:
Serializable, Commented, Named, Behavior
Represents a specific behavior that an individual can exhibit.
Behaviors are categorized into reflexes, self-oriented behaviors, or social behaviors.
This class provides a comprehensive ethogram of common biological and social behaviors.
* @version 1.5
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested type constants for legacy support and cleaner API. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BehaviorSocial conflict or hostile signaling.static final BehaviorSignal of imminent danger to a group.static final BehaviorVital reflex for gas exchange.static final BehaviorThermal manipulation behavior.static final BehaviorTransportation of items.static final BehaviorHygiene and self-maintenance behavior.static final BehaviorInformation exchange between individuals.static final BehaviorJoint effort toward a shared goal.static final BehaviorSeparation behavior, often with tools.static final BehaviorWaste elimination behavior.static final BehaviorRecreational performance for others.static final BehaviorReciprocal transfer of goods or services.static final BehaviorEnvironmental mapping and discovery behavior.static final BehaviorNutrient ingestion behavior.static final BehaviorDefensive or offensive combat behavior.static final BehaviorSocial bonding through physical maintenance.static final BehaviorBiological maintenance and wound recovery.static final BehaviorGrasping or maintaining possession of an item.static final BehaviorPredatory or resource gathering search.static final BehaviorLearning by observing and repeating others.static final intCategorization for biological instincts.static final BehaviorCompetitive reproductive display.static final BehaviorAcoustic signaling behavior.static final BehaviorLocomotion behavior.static final BehaviorPrimitive reflex for biological transformation.static final BehaviorFormation of a shelter or reproductive site.static final BehaviorState of inactivity or resting.static final BehaviorInformation gathering through senses.static final BehaviorBrood raising and juvenile maintenance.static final BehaviorNon-utilitarian recreational interaction.static final BehaviorDirecting attention to an object or location.static final BehaviorInformation decoding from text.static final intCategorization for innate, involuntary reflex actions.static final BehaviorDropping or letting go of an item.static final BehaviorMating or reproductive activity.static final intCategorization for individual-oriented behaviors (e.g., feeding, sleeping).static final BehaviorRestorative dormant state.static final intCategorization for interaction-oriented behaviors with other individuals.static final BehaviorStandardized recreational physical competition.static final BehaviorConstruction of implements.static final BehaviorApplication of implements for a task.static final intCategorization for behaviors of unknown nature.static final BehaviorGestural communication or basic signaling.static final BehaviorInformation encoding into symbols. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(Individual individual) intReturns the current emotional or practical attitude modulating this behavior.Returns the comments associated with this object.getId()Legacy getter for ID.intgetKind()Returns the categorization kind of the behavior.getName()Returns the name of the behavior.Returns the map of traits/attributes for this object.intgetType()Legacy getter for kind.voidsetAttitude(int attitude) Sets the attitude modulating this behavior.voidsetComments(String comments) Sets the comments for this object.toString()
-
Field Details
-
UNKNOWN
public static final int UNKNOWNCategorization for behaviors of unknown nature.- See Also:
-
REFLEX
public static final int REFLEXCategorization for innate, involuntary reflex actions.- See Also:
-
SELF
public static final int SELFCategorization for individual-oriented behaviors (e.g., feeding, sleeping).- See Also:
-
SOCIAL
public static final int SOCIALCategorization for interaction-oriented behaviors with other individuals.- See Also:
-
INSTINCTIVE
public static final int INSTINCTIVECategorization for biological instincts.- See Also:
-
BREATH
Vital reflex for gas exchange. -
MUTATE
Primitive reflex for biological transformation. -
NONE
State of inactivity or resting. -
CLEAN
Hygiene and self-maintenance behavior. -
HEAL
Biological maintenance and wound recovery. -
REPRODUCE
Mating or reproductive activity. -
NEST_MAKING
Formation of a shelter or reproductive site. -
FIGHT
Defensive or offensive combat behavior. -
SLEEP
Restorative dormant state. -
HUNT
Predatory or resource gathering search. -
FEED
Nutrient ingestion behavior. -
DEFECATE
Waste elimination behavior. -
OBSERVE
Information gathering through senses. -
MOVE
Locomotion behavior. -
WAVE
Gestural communication or basic signaling. -
MAKE_NOISE
Acoustic signaling behavior. -
RELEASE
Dropping or letting go of an item. -
HOLD
Grasping or maintaining possession of an item. -
TOOLMAKING
Construction of implements. -
TOOLUSING
Application of implements for a task. -
CUT
Separation behavior, often with tools. -
BURN
Thermal manipulation behavior. -
CARRY
Transportation of items. -
EXPLORE
Environmental mapping and discovery behavior. -
READ
Information decoding from text. -
WRITE
Information encoding into symbols. -
LEK
Competitive reproductive display. -
GROOMING
Social bonding through physical maintenance. -
COMMUNICATE
Information exchange between individuals. -
IMITATE
Learning by observing and repeating others. -
PLAY
Non-utilitarian recreational interaction. -
PARENTAL_CARE
Brood raising and juvenile maintenance. -
ALERT
Signal of imminent danger to a group. -
COOPERATE
Joint effort toward a shared goal. -
AGRESSION
Social conflict or hostile signaling. -
ENTERTAIN
Recreational performance for others. -
POINT
Directing attention to an object or location. -
EXCHANGE
Reciprocal transfer of goods or services. -
SPORT
Standardized recreational physical competition.
-
-
Constructor Details
-
Behavior
Creates a new Behavior with a given name and kind.- Parameters:
name- identifying name of the behaviorkind- categorization (REFLEX, SELF, SOCIAL)- Throws:
IllegalArgumentException- if name is null or empty
-
Behavior
-
-
Method Details
-
execute
-
getName
-
getKind
public int getKind()Returns the categorization kind of the behavior.- Returns:
- the kind (REFLEX, SELF, SOCIAL)
-
getType
public int getType()Legacy getter for kind. -
getId
Legacy getter for ID. -
getAttitude
public int getAttitude()Returns the current emotional or practical attitude modulating this behavior.- Returns:
- the attitude constant
-
setAttitude
public void setAttitude(int attitude) Sets the attitude modulating this behavior.- Parameters:
attitude- the new attitude state
-
getComments
Description copied from interface:CommentedReturns the comments associated with this object. Maps to a "comments" trait.- Specified by:
getCommentsin interfaceCommented- Returns:
- the comments
-
setComments
Description copied from interface:CommentedSets the comments for this object. Maps to a "comments" trait.- Specified by:
setCommentsin interfaceCommented- Parameters:
comments- the comments to set
-
getTraits
-
toString
-