Interface ComprehensiveIdentification

All Superinterfaces:
Commented, Identified<Identification>, Named, Serializable
All Known Subinterfaces:
Actuator<C>, BallotCaster, Centrifuge, ComplexInstrument, Device, Experiment<I,R>, HumidityProbe, Microscope, Multimeter, Oscilloscope, PHMeter, PressureGauge, Seismograph, Sensor<Q>, Spectrometer, Telescope, TemperatureProbe, VitalSignsMonitor, VoterScanner, VotingMachine, WeatherStation
All Known Implementing Classes:
AbstractActuator, AbstractDevice, AbstractSensor, AbstractSimulatedActuator, AbstractSimulatedDevice, AbstractSimulatedSensor, Account, Act, Administration, AlkaliEarthMetal, AlkaliMetal, AminoAcid, Artifact, Artist, Artwork, Atom, Bank, Belief, BioChemicalReaction, Bond, Book, Building, Building, BusinessPlace, Candidate, Celebration, Cell, ChatSituation, Check, ChemicalReaction, ChoiceQuestion, Choreography, Citizen, City, City, Civilization, CivilSituation, Clade, Clothes, Coin, Collection, Community, Composition, Compound, Concept, Contract, Country, Creature, Crowd, Culture, Currency, Defendant, Diagnostic, Disease, DNA, Doctor, EarthEcosource, EconomicAgent, EconomicSituation, Economy, Election, Element, EmpiricalEvidence, Event, Evidence, Factory, Film, Fossil, FreeMarketEconomy, Gas, GeologicalEra, GeologicalTimeScale, GPIBDevice, Halogen, HistoricalEra, HistoricalEvent, HistoricalTimeline, Holding, Home, Human, HumanGroup, HumanResource, HumanTimeline, Impairment, Individual, Installation, Item, Judge, Jurisdiction, JuryMember, Knowledge, LawSuitSituation, Lawyer, Liquid, Locutor, Machine, MassSpectra, MasterOfCeremony, Match, MaterialResource, MedicalSituation, Medication, Member, Metal, Mineral, Model, Molecule, Nation, Natural, NeuralNetwork, Neuron, NobleGas, NonMetal, Observation, Organ, Organigram, Organization, OrganizationTask, OwnedPlace, Pathology, Pathway, Patient, Performance, Person, PhilosophicalCurrent, PhylogeneticTree, PhysicalObject, Picture, Place, Plaintiff, PlannedEconomy, PoliticalParty, Population, PortfolioData, PositionedEvent, PotentialResource, Proposition, Prosecutor, Protein, PsychologicalFamily, PsychologicalGroup, Question, RareEarthMetal, RationalEvidence, Receipt, Region, Religion, Resource, ResponsibleIndividual, Ritual, RNA, Road, Robot, Role, Sample, ScaleQuestion, ScientificAnalysis, ScientificDescription, ScientificExperiment, ScientificReport, ScientificTerm, Score, Settlement, Share, SimulatedBallotCaster, SimulatedCentrifuge, SimulatedGPIBDevice, SimulatedHumidityProbe, SimulatedMicroscope, SimulatedMultimeter, SimulatedOscilloscope, SimulatedPHMeter, SimulatedPressureGauge, SimulatedSeismograph, SimulatedSpectrometer, SimulatedTelescope, SimulatedTemperatureProbe, SimulatedUSBDevice, SimulatedVitalSignsMonitor, SimulatedVoterScanner, SimulatedVotingMachine, SimulatedWeatherStation, Site, Situation, SocialCollective, SocialEntity, SocialNetwork, Society, SociologicalFamily, SociologicalGroup, Solid, Species, SpectralPeak, Spectrum, Sport, Statute, Story, StrategicModel, Stratum, StreetSituation, Subject, Survey, SurveyResponse, Synapse, Task, Taxon, Team, TestimonialEvidence, TextQuestion, Thing, TimedPlace, Timeline, Tissue, Tool, Transaction, TransitionMetal, Treatment, TrialExperiment, Tribe, USBDevice, Vehicle, Vehicle, Virus, Voter, Witness, Worker, WorkSituation

public interface ComprehensiveIdentification extends Identified<Identification>, Named, Commented, Serializable
An encompassing interface that groups identification, naming, commenting, and serialization. This interface provides a comprehensive support for entities that need to be uniquely identified and carry descriptive metadata.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Details

    • getTraits

      Map<String,Object> getTraits()
      Returns the traits map for this entity.
      Specified by:
      getTraits in interface Commented
      Returns:
      the traits map
    • getTrait

      default Object getTrait(String name)
      Returns a trait value by name.
      Specified by:
      getTrait in interface Commented
      Parameters:
      name - the trait name
      Returns:
      the trait value, or null if not found
    • setTrait

      default void setTrait(String name, Object value)
      Sets a trait value.
      Specified by:
      setTrait in interface Commented
      Parameters:
      name - the trait name
      value - the trait value
    • getName

      default String getName()
      Specified by:
      getName in interface Named
    • setName

      default void setName(String name)
      Sets the name of this entity.
      Parameters:
      name - the name to set