Class Virus
java.lang.Object
org.episteme.natural.biology.Virus
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named
Represents a virus - an infectious agent that replicates inside living cells.
Implements ComprehensiveIdentification to support dynamic traits and consistent identity.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVirus(String name, String family, VirusGenomeType genomeType, VirusMorphology morphology, BioSequence genome, double capsidDiameterNm) Virus(String name, String family, VirusGenomeType genomeType, VirusMorphology morphology, BioSequence genome, Quantity<Length> capsidDiameter) -
Method Summary
Methods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Field Details
-
id
-
traits
-
-
Constructor Details
-
Virus
public Virus(String name, String family, VirusGenomeType genomeType, VirusMorphology morphology, BioSequence genome, Quantity<Length> capsidDiameter) -
Virus
public Virus(String name, String family, VirusGenomeType genomeType, VirusMorphology morphology, BioSequence genome, double capsidDiameterNm)
-
-
Method Details
-
getId
Description copied from interface:IdentifiedReturns the unique identifier of this entity.- Specified by:
getIdin interfaceIdentified<Identification>- Returns:
- the identifier
-
getTraits
Description copied from interface:ComprehensiveIdentificationReturns the traits map for this entity.- Specified by:
getTraitsin interfaceCommented- Specified by:
getTraitsin interfaceComprehensiveIdentification- Returns:
- the traits map
-
getFamily
-
getGenomeType
-
getMorphology
-
getGenome
-
getCapsidDiameter
-
getCurrentStage
-
nextStage
public void nextStage() -
setStage
-
getGenomeSize
public int getGenomeSize() -
isRNAVirus
public boolean isRNAVirus() -
isRetrovirus
public boolean isRetrovirus() -
equals
-
hashCode
-
toString
-
sarsCov2
-
influenzaA
-
hiv1
-
bacteriophageT4
-