Class SubstanceNucleicAcid.Subunit

  • All Implemented Interfaces:
    Visitable
    Enclosing class:
    SubstanceNucleicAcid

    public static class SubstanceNucleicAcid.Subunit
    extends BackboneElement
    Subunits are listed in order of decreasing length; sequences of the same length will be ordered by molecular weight; subunits that have identical sequences will be repeated multiple times.
    • Method Detail

      • getSubunit

        public Integer getSubunit()
        Index of linear sequences of nucleic acids in order of decreasing length. Sequences of the same length will be ordered by molecular weight. Subunits that have identical sequences will be repeated and have sequential subscripts.
        Returns:
        An immutable object of type Integer that may be null.
      • getSequence

        public String getSequence()
        Actual nucleotide sequence notation from 5' to 3' end using standard single letter codes. In addition to the base sequence, sugar and type of phosphate or non-phosphate linkage should also be captured.
        Returns:
        An immutable object of type String that may be null.
      • getLength

        public Integer getLength()
        The length of the sequence shall be captured.
        Returns:
        An immutable object of type Integer that may be null.
      • getSequenceAttachment

        public Attachment getSequenceAttachment()
        (TBC).
        Returns:
        An immutable object of type Attachment that may be null.
      • getFivePrime

        public CodeableConcept getFivePrime()
        The nucleotide present at the 5’ terminal shall be specified based on a controlled vocabulary. Since the sequence is represented from the 5' to the 3' end, the 5’ prime nucleotide is the letter at the first position in the sequence. A separate representation would be redundant.
        Returns:
        An immutable object of type CodeableConcept that may be null.
      • getThreePrime

        public CodeableConcept getThreePrime()
        The nucleotide present at the 3’ terminal shall be specified based on a controlled vocabulary. Since the sequence is represented from the 5' to the 3' end, the 5’ prime nucleotide is the letter at the last position in the sequence. A separate representation would be redundant.
        Returns:
        An immutable object of type CodeableConcept that may be null.
      • accept

        public void accept​(java.lang.String elementName,
                           int elementIndex,
                           Visitor visitor)
        Description copied from interface: Visitable
        Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:
         if (visitor.preVisit(this)) {
             visitor.visitStart(elementName, elementIndex, this);
             if (visitor.visit(elementName, elementIndex, this)) {
                 // visit children
             }
             visitor.visitEnd(elementName, elementIndex, this);
             visitor.postVisit(this);
         }
         
        Specified by:
        accept in interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object