Class XmlProtein

    • Constructor Detail

      • XmlProtein

        public XmlProtein​(String name,
                          CvTerm type)

        Constructor for XmlProtein.

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

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

        Constructor for XmlProtein.

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

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

        Constructor for XmlProtein.

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

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

        Constructor for XmlProtein.

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

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

        Constructor for XmlProtein.

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

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

        Constructor for XmlProtein.

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

        public XmlProtein​(String name)

        Constructor for XmlProtein.

        Parameters:
        name - a String object.
      • XmlProtein

        public XmlProtein​(String name,
                          String fullName)

        Constructor for XmlProtein.

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

        public XmlProtein​(String name,
                          Organism organism)

        Constructor for XmlProtein.

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

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

        Constructor for XmlProtein.

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

        public XmlProtein​(String name,
                          Xref uniqueId)

        Constructor for XmlProtein.

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

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

        Constructor for XmlProtein.

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

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

        Constructor for XmlProtein.

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

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

        Constructor for XmlProtein.

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

      • setInteractorType

        public void setInteractorType​(CvTerm interactorType)
        Sets the molecule type for this interactor If the given type is null, this method automatically sets the interactor type to 'unknown participant' (MI:0329) Sets the interactor type of this polymer. If the given interactorType is null, it sets the interactorType to 'biopolymer'(MI:0383) Sets the interactor type of this protein. If the given interactorType is null, it will set the interactor type to 'protein' (MI:0326)
        Specified by:
        setInteractorType in interface Interactor
        Overrides:
        setInteractorType in class DefaultProtein
        Parameters:
        interactorType - : molecule type
      • setId

        public void setId​(int value)

        setId.

        Sets the value of the id property.
        Specified by:
        setId in interface ExtendedPsiXmlInteractor
        Parameters:
        value - a int.
      • setSourceLocator

        public void setSourceLocator​(PsiXmlLocator sourceLocator)

        Setter for the field sourceLocator.

        Parameters:
        sourceLocator - a PsiXmlLocator object.
      • toString

        public String toString()
        Specified by:
        toString in interface FileSourceContext
        Overrides:
        toString in class DefaultProtein
        Returns:
        the file source context as a String. If the source locator is not null, it should give the source locator properties