Class XmlXref

  • All Implemented Interfaces:
    com.sun.xml.bind.Locatable, FileSourceContext, Xref, ExtendedPsiXmlXref

    public class XmlXref
    extends Object
    implements ExtendedPsiXmlXref, FileSourceContext, com.sun.xml.bind.Locatable
    Refers to a unique object in an external database.

    Java class for dbReference complex type.

    The following schema fragment specifies the expected content contained within this class. The JAXB bindings is designed to be read-only and is not designed for writing

    • Constructor Detail

      • XmlXref

        public XmlXref()

        Constructor for XmlXref.

      • XmlXref

        public XmlXref​(CvTerm database,
                       String id,
                       CvTerm qualifier)

        Constructor for XmlXref.

        Parameters:
        database - a CvTerm object.
        id - a String object.
        qualifier - a CvTerm object.
      • XmlXref

        public XmlXref​(CvTerm database,
                       String id,
                       String version)

        Constructor for XmlXref.

        Parameters:
        database - a CvTerm object.
        id - a String object.
        version - a String object.
      • XmlXref

        public XmlXref​(CvTerm database,
                       String id)

        Constructor for XmlXref.

        Parameters:
        database - a CvTerm object.
        id - a String object.
    • Method Detail

      • getDatabase

        public CvTerm getDatabase()

        Getter for the field database.

        Specified by:
        getDatabase in interface Xref
        Returns:
        a CvTerm object.
      • getId

        public String getId()

        Getter for the field id.

        Specified by:
        getId in interface Xref
        Returns:
        a String object.
      • setJAXBId

        public void setJAXBId​(String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String
      • getVersion

        public String getVersion()

        Getter for the field version.

        Specified by:
        getVersion in interface Xref
        Returns:
        a String object.
      • setJAXBVersion

        public void setJAXBVersion​(String value)
        Sets the value of the version property.
        Parameters:
        value - allowed object is String
      • getQualifier

        public CvTerm getQualifier()

        Getter for the field qualifier.

        Specified by:
        getQualifier in interface Xref
        Returns:
        a CvTerm object.
      • setJAXBDb

        public void setJAXBDb​(String value)
        Sets the value of the db property.
        Parameters:
        value - allowed object is String
      • setJAXBDbAc

        public void setJAXBDbAc​(String value)
        Sets the value of the dbAc property.
        Parameters:
        value - allowed object is String
      • setJAXBRefType

        public void setJAXBRefType​(String value)
        Sets the value of the refType property.
        Parameters:
        value - allowed object is String
      • setJAXBRefTypeAc

        public void setJAXBRefTypeAc​(String value)
        Sets the value of the refTypeAc property.
        Parameters:
        value - allowed object is String
      • setSecondary

        public void setSecondary​(String value)

        setSecondary.

        Sets the value of the secondary property.
        Specified by:
        setSecondary in interface ExtendedPsiXmlXref
        Parameters:
        value - a String object.
      • sourceLocation

        public Locator sourceLocation()
        Specified by:
        sourceLocation in interface com.sun.xml.bind.Locatable
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()

        toString

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