Class DefaultMolecule

  • All Implemented Interfaces:
    Interactor, Molecule
    Direct Known Subclasses:
    DefaultBioactiveEntity, DefaultGene, DefaultPolymer, MitabMolecule

    public class DefaultMolecule
    extends DefaultInteractor
    implements Molecule
    The default implementation for a molecule Notes: The equals and hashcode methods have NOT been overridden because the molecule object is a complex object. To compare molecule objects, you can use some comparators provided by default (see DefaultInteractor)
    Since:
    21/05/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultMolecule

        public DefaultMolecule​(String name,
                               CvTerm type)

        Constructor for DefaultMolecule.

        Parameters:
        name - a String object.
        type - a CvTerm object.
      • DefaultMolecule

        public DefaultMolecule​(String name,
                               String fullName,
                               CvTerm type)

        Constructor for DefaultMolecule.

        Parameters:
        name - a String object.
        fullName - a String object.
        type - a CvTerm object.
      • DefaultMolecule

        public DefaultMolecule​(String name,
                               CvTerm type,
                               Organism organism)

        Constructor for DefaultMolecule.

        Parameters:
        name - a String object.
        type - a CvTerm object.
        organism - a Organism object.
      • DefaultMolecule

        public DefaultMolecule​(String name,
                               String fullName,
                               CvTerm type,
                               Organism organism)

        Constructor for DefaultMolecule.

        Parameters:
        name - a String object.
        fullName - a String object.
        type - a CvTerm object.
        organism - a Organism object.
      • DefaultMolecule

        public DefaultMolecule​(String name,
                               CvTerm type,
                               Xref uniqueId)

        Constructor for DefaultMolecule.

        Parameters:
        name - a String object.
        type - a CvTerm object.
        uniqueId - a Xref object.
      • DefaultMolecule

        public DefaultMolecule​(String name,
                               String fullName,
                               CvTerm type,
                               Xref uniqueId)

        Constructor for DefaultMolecule.

        Parameters:
        name - a String object.
        fullName - a String object.
        type - a CvTerm object.
        uniqueId - a Xref object.
      • DefaultMolecule

        public DefaultMolecule​(String name,
                               CvTerm type,
                               Organism organism,
                               Xref uniqueId)

        Constructor for DefaultMolecule.

        Parameters:
        name - a String object.
        type - a CvTerm object.
        organism - a Organism object.
        uniqueId - a Xref object.
      • DefaultMolecule

        public DefaultMolecule​(String name,
                               String fullName,
                               CvTerm type,
                               Organism organism,
                               Xref uniqueId)

        Constructor for DefaultMolecule.

        Parameters:
        name - a String object.
        fullName - a String object.
        type - a CvTerm object.
        organism - a Organism object.
        uniqueId - a Xref object.
      • DefaultMolecule

        public DefaultMolecule​(String name)

        Constructor for DefaultMolecule.

        Parameters:
        name - a String object.
      • DefaultMolecule

        public DefaultMolecule​(String name,
                               String fullName)

        Constructor for DefaultMolecule.

        Parameters:
        name - a String object.
        fullName - a String object.
      • DefaultMolecule

        public DefaultMolecule​(String name,
                               Organism organism)

        Constructor for DefaultMolecule.

        Parameters:
        name - a String object.
        organism - a Organism object.
      • DefaultMolecule

        public DefaultMolecule​(String name,
                               String fullName,
                               Organism organism)

        Constructor for DefaultMolecule.

        Parameters:
        name - a String object.
        fullName - a String object.
        organism - a Organism object.
      • DefaultMolecule

        public DefaultMolecule​(String name,
                               Xref uniqueId)

        Constructor for DefaultMolecule.

        Parameters:
        name - a String object.
        uniqueId - a Xref object.
      • DefaultMolecule

        public DefaultMolecule​(String name,
                               String fullName,
                               Xref uniqueId)

        Constructor for DefaultMolecule.

        Parameters:
        name - a String object.
        fullName - a String object.
        uniqueId - a Xref object.
      • DefaultMolecule

        public DefaultMolecule​(String name,
                               Organism organism,
                               Xref uniqueId)

        Constructor for DefaultMolecule.

        Parameters:
        name - a String object.
        organism - a Organism object.
        uniqueId - a Xref object.
      • DefaultMolecule

        public DefaultMolecule​(String name,
                               String fullName,
                               Organism organism,
                               Xref uniqueId)

        Constructor for DefaultMolecule.

        Parameters:
        name - a String object.
        fullName - a String object.
        organism - a Organism object.
        uniqueId - a Xref object.