Class DefaultInteraction

  • All Implemented Interfaces:
    Interaction<Participant>
    Direct Known Subclasses:
    DefaultNamedInteraction, MitabInteraction

    public class DefaultInteraction
    extends AbstractInteraction<Participant>
    Default implementation for interaction Notes: The equals and hashcode methods have NOT been overridden because the interaction object is a complex object. To compare interaction objects, you can use some comparators provided by default: - DefaultInteractionBaseComparator - UnambiguousInteractionBaseComparator - DefaultCuratedInteractionBaseComparator - UnambiguousCuratedInteractionBaseComparator - DefaultInteractionComparator - UnambiguousInteractionComparator - DefaultCuratedInteractionComparator - UnambiguousCuratedInteractionComparator - AbstractInteractionBaseComparator
    Since:
    04/02/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultInteraction

        public DefaultInteraction()

        Constructor for DefaultInteraction.

      • DefaultInteraction

        public DefaultInteraction​(String shortName)

        Constructor for DefaultInteraction.

        Parameters:
        shortName - a String object.
      • DefaultInteraction

        public DefaultInteraction​(String shortName,
                                  CvTerm type)

        Constructor for DefaultInteraction.

        Parameters:
        shortName - a String object.
        type - a CvTerm object.