Package com.ibm.fhir.model.resource
Class MolecularSequence.ReferenceSeq
- java.lang.Object
 - 
- com.ibm.fhir.model.visitor.AbstractVisitable
 - 
- com.ibm.fhir.model.type.Element
 - 
- com.ibm.fhir.model.type.BackboneElement
 - 
- com.ibm.fhir.model.resource.MolecularSequence.ReferenceSeq
 
 
 
 
 
- 
- All Implemented Interfaces:
 Visitable
- Enclosing class:
 - MolecularSequence
 
public static class MolecularSequence.ReferenceSeq extends BackboneElement
A sequence that is used as a reference to describe variants that are present in a sequence analyzed. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMolecularSequence.ReferenceSeq.Builder 
- 
Field Summary
- 
Fields inherited from class com.ibm.fhir.model.type.BackboneElement
modifierExtension 
 - 
 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static MolecularSequence.ReferenceSeq.Builderbuilder()booleanequals(Object obj)CodeableConceptgetChromosome()Structural unit composed of a nucleic acid molecule which controls its own replication through the interaction of specific proteins at one or more origins of replication ([SO:0000340](http://www.sequenceontology.StringgetGenomeBuild()The Genome Build used for reference, following GRCh build versions e.g.OrientationTypegetOrientation()A relative reference to a DNA strand based on gene orientation.CodeableConceptgetReferenceSeqId()Reference identifier of reference sequence submitted to NCBI.ReferencegetReferenceSeqPointer()A pointer to another MolecularSequence entity as reference sequence.StringgetReferenceSeqString()A string like "ACGT".StrandTypegetStrand()An absolute reference to a strand.IntegergetWindowEnd()End position of the window on the reference sequence.IntegergetWindowStart()Start position of the window on the reference sequence.booleanhasChildren()inthashCode()MolecularSequence.ReferenceSeq.BuildertoBuilder()Create a new Builder from the contents of this Element- 
Methods inherited from class com.ibm.fhir.model.type.BackboneElement
getModifierExtension 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getChromosome
public CodeableConcept getChromosome()
Structural unit composed of a nucleic acid molecule which controls its own replication through the interaction of specific proteins at one or more origins of replication ([SO:0000340](http://www.sequenceontology. org/browser/current_svn/term/SO:0000340)).- Returns:
 - An immutable object of type 
CodeableConceptthat may be null. 
 
- 
getGenomeBuild
public String getGenomeBuild()
The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'. Version number must be included if a versioned release of a primary build was used.- Returns:
 - An immutable object of type 
Stringthat may be null. 
 
- 
getOrientation
public OrientationType getOrientation()
A relative reference to a DNA strand based on gene orientation. The strand that contains the open reading frame of the gene is the "sense" strand, and the opposite complementary strand is the "antisense" strand.- Returns:
 - An immutable object of type 
OrientationTypethat may be null. 
 
- 
getReferenceSeqId
public CodeableConcept getReferenceSeqId()
Reference identifier of reference sequence submitted to NCBI. It must match the type in the MolecularSequence.type field. For example, the prefix, “NG_” identifies reference sequence for genes, “NM_” for messenger RNA transcripts, and “NP_” for amino acid sequences.- Returns:
 - An immutable object of type 
CodeableConceptthat may be null. 
 
- 
getReferenceSeqPointer
public Reference getReferenceSeqPointer()
A pointer to another MolecularSequence entity as reference sequence.- Returns:
 - An immutable object of type 
Referencethat may be null. 
 
- 
getReferenceSeqString
public String getReferenceSeqString()
A string like "ACGT".- Returns:
 - An immutable object of type 
Stringthat may be null. 
 
- 
getStrand
public StrandType getStrand()
An absolute reference to a strand. The Watson strand is the strand whose 5'-end is on the short arm of the chromosome, and the Crick strand as the one whose 5'-end is on the long arm.- Returns:
 - An immutable object of type 
StrandTypethat may be null. 
 
- 
getWindowStart
public Integer getWindowStart()
Start position of the window on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.- Returns:
 - An immutable object of type 
Integerthat may be null. 
 
- 
getWindowEnd
public Integer getWindowEnd()
End position of the window on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.- Returns:
 - An immutable object of type 
Integerthat may be null. 
 
- 
hasChildren
public boolean hasChildren()
- Overrides:
 hasChildrenin classBackboneElement
 
- 
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:VisitableAccept 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:
 acceptin interfaceVisitable- Specified by:
 acceptin classAbstractVisitable- Parameters:
 elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
 
- 
toBuilder
public MolecularSequence.ReferenceSeq.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element- Specified by:
 toBuilderin classBackboneElement
 
- 
builder
public static MolecularSequence.ReferenceSeq.Builder builder()
 
 - 
 
 -