Class GeneImpl

All Implemented Interfaces:
Serializable, Cloneable, BioPAXElement, Entity, Gene, Level3Element, Named, Observable, XReferrable

public class GeneImpl extends EntityImpl implements Gene
See Also:
  • Constructor Details

    • GeneImpl

      public GeneImpl()
  • Method Details

    • getModelInterface

      public Class<? extends Gene> getModelInterface()
      Description copied from interface: BioPAXElement
      This method returns the actual model interface that a class implements.
      Specified by:
      getModelInterface in interface BioPAXElement
      Returns:
      an interface from org.biopax.paxtools.model package corresponding to a BioPAX class.
    • getOrganism

      public BioSource getOrganism()
      Description copied from interface: Gene
      An organism, e.g. 'Homo sapiens'. This is the organism that the entity is found in. Pathways may not have an organism associated with them, for instance, reference pathways from KEGG. Sequence-based entities (DNA, protein, RNA) may contain an xref to a sequence database that contains organism information, in which case the information should be consistent with the value for ORGANISM.
      Specified by:
      getOrganism in interface Gene
      Returns:
      the organism for this gene.
    • setOrganism

      public void setOrganism(BioSource source)
      Description copied from interface: Gene
      An organism, e.g. 'Homo sapiens'. This is the organism that the entity is found in. Pathways may not have an organism associated with them, for instance, reference pathways from KEGG. Sequence-based entities (DNA, protein, RNA) may contain an xref to a sequence database that contains organism information, in which case the information should be consistent with the value for ORGANISM.
      Specified by:
      setOrganism in interface Gene
      Parameters:
      source - new organism for this gene