Class Artist
java.lang.Object
org.episteme.social.sociology.Role
org.episteme.social.economics.EconomicAgent
org.episteme.social.economics.Worker
org.episteme.social.arts.Artist
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Temporal<TimeCoordinate>
Represents an artist (painter, sculptor, musician, etc.) as a specialized social role.
This class captures the artist's biographical data, media of expertise,
nationality, and belonging to artistic movements.
* @version 2.1
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
Fields inherited from class Role
CLIENT, OBSERVER, SERVER, SUPERVISOR -
Constructor Summary
ConstructorsConstructorDescriptionArtist(Individual individual, Organization organization) Creates a new Artist role with "Artist" as the default function.Artist(Individual individual, Organization organization, String function) Creates a new Artist role. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddNotableWork(String work) static ArtistFactory method for Ludwig van Beethoven.getMedia()booleanisAlive()Checks if the artist is currently alive (deathDate is null).static ArtistFactory method for Leonardo da Vinci.voidsetBiography(String bio) voidsetBirthDate(TimeCoordinate date) voidsetDeathDate(TimeCoordinate date) voidsetMovement(String movement) voidsetNationality(String nationality) toString()Methods inherited from class Worker
addSubaltern, equals, extractTree, getAllSubalterns, getAnnualIncome, getChiefs, getCommonRoot, getCoWorkers, getLeaders, getLineage, getOrganization, getSubalterns, getSubalternsAtLevelK, getWorkedHours, hasChief, hasChild, hasChild, hasDistantSubaltern, hashCode, removeSubaltern, reparent, setAnnualIncome, setFunction, setOrganization, setSubalterns, setWorkedHours, setWorkedHoursMethods inherited from class EconomicAgent
addBelonging, getBelongings, getCommunity, getWallet, removeBelonging, setBelongings, setWalletMethods inherited from class Role
getId, getIndividual, getKind, getSituation, getTraits, getWhen, setKind, setTimestampMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
Artist
Creates a new Artist role.- Parameters:
individual- the individual playing the roleorganization- the organization the artist belongs to (can be self-employed)function- the specific function description (e.g., "Painter")
-
Artist
Creates a new Artist role with "Artist" as the default function.- Parameters:
individual- the individual playing the roleorganization- the organization the artist belongs to
-
-
Method Details
-
getMedia
-
getNationality
-
setNationality
-
getBirthDate
-
setBirthDate
-
getDeathDate
-
setDeathDate
-
getMovement
-
setMovement
-
getBiography
-
setBiography
-
getNotableWorks
-
addNotableWork
-
addMedium
-
isAlive
public boolean isAlive()Checks if the artist is currently alive (deathDate is null).- Returns:
- true if alive
-
toString
-
leonardoDaVinci
Factory method for Leonardo da Vinci.- Returns:
- Leonardo da Vinci artist profile
-
beethoven
Factory method for Ludwig van Beethoven.- Returns:
- Beethoven artist profile
-