Class Sequence
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.Sequence
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class Sequence extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava class for Sequence complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Sequence"> <complexContent> <extension base="{http://hl7.org/fhir}DomainResource"> <sequence> <element name="type" type="{http://hl7.org/fhir}sequenceType"/> <element name="patient" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="specimen" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="device" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="quantity" type="{http://hl7.org/fhir}Quantity" minOccurs="0"/> <element name="species" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="referenceSeq" type="{http://hl7.org/fhir}Sequence.ReferenceSeq" maxOccurs="unbounded" minOccurs="0"/> <element name="variation" type="{http://hl7.org/fhir}Sequence.Variation" minOccurs="0"/> <element name="quality" type="{http://hl7.org/fhir}Sequence.Quality" maxOccurs="unbounded" minOccurs="0"/> <element name="allelicState" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="allelicFrequency" type="{http://hl7.org/fhir}decimal" minOccurs="0"/> <element name="copyNumberEvent" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="readCoverage" type="{http://hl7.org/fhir}integer" minOccurs="0"/> <element name="repository" type="{http://hl7.org/fhir}Sequence.Repository" maxOccurs="unbounded" minOccurs="0"/> <element name="pointer" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/> <element name="observedSeq" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="observation" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="structureVariation" type="{http://hl7.org/fhir}Sequence.StructureVariation" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected DecimalallelicFrequencyprotected CodeableConceptallelicStateprotected CodeableConceptcopyNumberEventprotected Referencedeviceprotected Referenceobservationprotected StringobservedSeqprotected Referencepatientprotected java.util.List<Reference>pointerprotected java.util.List<SequenceQuality>qualityprotected Quantityquantityprotected IntegerreadCoverageprotected java.util.List<SequenceReferenceSeq>referenceSeqprotected java.util.List<SequenceRepository>repositoryprotected CodeableConceptspeciesprotected Referencespecimenprotected SequenceStructureVariationstructureVariationprotected SequenceTypetypeprotected SequenceVariationvariation-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Sequence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)DecimalgetAllelicFrequency()Gets the value of the allelicFrequency property.CodeableConceptgetAllelicState()Gets the value of the allelicState property.CodeableConceptgetCopyNumberEvent()Gets the value of the copyNumberEvent property.ReferencegetDevice()Gets the value of the device property.ReferencegetObservation()Gets the value of the observation property.StringgetObservedSeq()Gets the value of the observedSeq property.ReferencegetPatient()Gets the value of the patient property.java.util.List<Reference>getPointer()Gets the value of the pointer property.java.util.List<SequenceQuality>getQuality()Gets the value of the quality property.QuantitygetQuantity()Gets the value of the quantity property.IntegergetReadCoverage()Gets the value of the readCoverage property.java.util.List<SequenceReferenceSeq>getReferenceSeq()Gets the value of the referenceSeq property.java.util.List<SequenceRepository>getRepository()Gets the value of the repository property.CodeableConceptgetSpecies()Gets the value of the species property.ReferencegetSpecimen()Gets the value of the specimen property.SequenceStructureVariationgetStructureVariation()Gets the value of the structureVariation property.SequenceTypegetType()Gets the value of the type property.SequenceVariationgetVariation()Gets the value of the variation property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAllelicFrequency(Decimal value)Sets the value of the allelicFrequency property.voidsetAllelicState(CodeableConcept value)Sets the value of the allelicState property.voidsetCopyNumberEvent(CodeableConcept value)Sets the value of the copyNumberEvent property.voidsetDevice(Reference value)Sets the value of the device property.voidsetObservation(Reference value)Sets the value of the observation property.voidsetObservedSeq(String value)Sets the value of the observedSeq property.voidsetPatient(Reference value)Sets the value of the patient property.voidsetQuantity(Quantity value)Sets the value of the quantity property.voidsetReadCoverage(Integer value)Sets the value of the readCoverage property.voidsetSpecies(CodeableConcept value)Sets the value of the species property.voidsetSpecimen(Reference value)Sets the value of the specimen property.voidsetStructureVariation(SequenceStructureVariation value)Sets the value of the structureVariation property.voidsetType(SequenceType value)Sets the value of the type property.voidsetVariation(SequenceVariation value)Sets the value of the variation property.java.lang.StringtoString()SequencewithAllelicFrequency(Decimal value)SequencewithAllelicState(CodeableConcept value)SequencewithContained(java.util.Collection<ResourceContainer> values)SequencewithContained(ResourceContainer... values)SequencewithCopyNumberEvent(CodeableConcept value)SequencewithDevice(Reference value)SequencewithExtension(java.util.Collection<Extension> values)SequencewithExtension(Extension... values)SequencewithId(Id value)SequencewithImplicitRules(Uri value)SequencewithLanguage(Code value)SequencewithMeta(Meta value)SequencewithModifierExtension(java.util.Collection<Extension> values)SequencewithModifierExtension(Extension... values)SequencewithObservation(Reference value)SequencewithObservedSeq(String value)SequencewithPatient(Reference value)SequencewithPointer(java.util.Collection<Reference> values)SequencewithPointer(Reference... values)SequencewithQuality(java.util.Collection<SequenceQuality> values)SequencewithQuality(SequenceQuality... values)SequencewithQuantity(Quantity value)SequencewithReadCoverage(Integer value)SequencewithReferenceSeq(java.util.Collection<SequenceReferenceSeq> values)SequencewithReferenceSeq(SequenceReferenceSeq... values)SequencewithRepository(java.util.Collection<SequenceRepository> values)SequencewithRepository(SequenceRepository... values)SequencewithSpecies(CodeableConcept value)SequencewithSpecimen(Reference value)SequencewithStructureVariation(SequenceStructureVariation value)SequencewithText(Narrative value)SequencewithType(SequenceType value)SequencewithVariation(SequenceVariation value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
type
protected SequenceType type
-
patient
protected Reference patient
-
specimen
protected Reference specimen
-
device
protected Reference device
-
quantity
protected Quantity quantity
-
species
protected CodeableConcept species
-
referenceSeq
protected java.util.List<SequenceReferenceSeq> referenceSeq
-
variation
protected SequenceVariation variation
-
quality
protected java.util.List<SequenceQuality> quality
-
allelicState
protected CodeableConcept allelicState
-
allelicFrequency
protected Decimal allelicFrequency
-
copyNumberEvent
protected CodeableConcept copyNumberEvent
-
readCoverage
protected Integer readCoverage
-
repository
protected java.util.List<SequenceRepository> repository
-
pointer
protected java.util.List<Reference> pointer
-
observedSeq
protected String observedSeq
-
observation
protected Reference observation
-
structureVariation
protected SequenceStructureVariation structureVariation
-
-
Method Detail
-
getType
public SequenceType getType()
Gets the value of the type property.- Returns:
- possible object is
SequenceType
-
setType
public void setType(SequenceType value)
Sets the value of the type property.- Parameters:
value- allowed object isSequenceType
-
getPatient
public Reference getPatient()
Gets the value of the patient property.- Returns:
- possible object is
Reference
-
setPatient
public void setPatient(Reference value)
Sets the value of the patient property.- Parameters:
value- allowed object isReference
-
getSpecimen
public Reference getSpecimen()
Gets the value of the specimen property.- Returns:
- possible object is
Reference
-
setSpecimen
public void setSpecimen(Reference value)
Sets the value of the specimen property.- Parameters:
value- allowed object isReference
-
getDevice
public Reference getDevice()
Gets the value of the device property.- Returns:
- possible object is
Reference
-
setDevice
public void setDevice(Reference value)
Sets the value of the device property.- Parameters:
value- allowed object isReference
-
getQuantity
public Quantity getQuantity()
Gets the value of the quantity property.- Returns:
- possible object is
Quantity
-
setQuantity
public void setQuantity(Quantity value)
Sets the value of the quantity property.- Parameters:
value- allowed object isQuantity
-
getSpecies
public CodeableConcept getSpecies()
Gets the value of the species property.- Returns:
- possible object is
CodeableConcept
-
setSpecies
public void setSpecies(CodeableConcept value)
Sets the value of the species property.- Parameters:
value- allowed object isCodeableConcept
-
getReferenceSeq
public java.util.List<SequenceReferenceSeq> getReferenceSeq()
Gets the value of the referenceSeq property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the referenceSeq property.For example, to add a new item, do as follows:
getReferenceSeq().add(newItem);Objects of the following type(s) are allowed in the list
SequenceReferenceSeq
-
getVariation
public SequenceVariation getVariation()
Gets the value of the variation property.- Returns:
- possible object is
SequenceVariation
-
setVariation
public void setVariation(SequenceVariation value)
Sets the value of the variation property.- Parameters:
value- allowed object isSequenceVariation
-
getQuality
public java.util.List<SequenceQuality> getQuality()
Gets the value of the quality property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the quality property.For example, to add a new item, do as follows:
getQuality().add(newItem);Objects of the following type(s) are allowed in the list
SequenceQuality
-
getAllelicState
public CodeableConcept getAllelicState()
Gets the value of the allelicState property.- Returns:
- possible object is
CodeableConcept
-
setAllelicState
public void setAllelicState(CodeableConcept value)
Sets the value of the allelicState property.- Parameters:
value- allowed object isCodeableConcept
-
getAllelicFrequency
public Decimal getAllelicFrequency()
Gets the value of the allelicFrequency property.- Returns:
- possible object is
Decimal
-
setAllelicFrequency
public void setAllelicFrequency(Decimal value)
Sets the value of the allelicFrequency property.- Parameters:
value- allowed object isDecimal
-
getCopyNumberEvent
public CodeableConcept getCopyNumberEvent()
Gets the value of the copyNumberEvent property.- Returns:
- possible object is
CodeableConcept
-
setCopyNumberEvent
public void setCopyNumberEvent(CodeableConcept value)
Sets the value of the copyNumberEvent property.- Parameters:
value- allowed object isCodeableConcept
-
getReadCoverage
public Integer getReadCoverage()
Gets the value of the readCoverage property.- Returns:
- possible object is
Integer
-
setReadCoverage
public void setReadCoverage(Integer value)
Sets the value of the readCoverage property.- Parameters:
value- allowed object isInteger
-
getRepository
public java.util.List<SequenceRepository> getRepository()
Gets the value of the repository property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the repository property.For example, to add a new item, do as follows:
getRepository().add(newItem);Objects of the following type(s) are allowed in the list
SequenceRepository
-
getPointer
public java.util.List<Reference> getPointer()
Gets the value of the pointer property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the pointer property.For example, to add a new item, do as follows:
getPointer().add(newItem);Objects of the following type(s) are allowed in the list
Reference
-
getObservedSeq
public String getObservedSeq()
Gets the value of the observedSeq property.- Returns:
- possible object is
String
-
setObservedSeq
public void setObservedSeq(String value)
Sets the value of the observedSeq property.- Parameters:
value- allowed object isString
-
getObservation
public Reference getObservation()
Gets the value of the observation property.- Returns:
- possible object is
Reference
-
setObservation
public void setObservation(Reference value)
Sets the value of the observation property.- Parameters:
value- allowed object isReference
-
getStructureVariation
public SequenceStructureVariation getStructureVariation()
Gets the value of the structureVariation property.- Returns:
- possible object is
SequenceStructureVariation
-
setStructureVariation
public void setStructureVariation(SequenceStructureVariation value)
Sets the value of the structureVariation property.- Parameters:
value- allowed object isSequenceStructureVariation
-
withType
public Sequence withType(SequenceType value)
-
withSpecies
public Sequence withSpecies(CodeableConcept value)
-
withReferenceSeq
public Sequence withReferenceSeq(SequenceReferenceSeq... values)
-
withReferenceSeq
public Sequence withReferenceSeq(java.util.Collection<SequenceReferenceSeq> values)
-
withVariation
public Sequence withVariation(SequenceVariation value)
-
withQuality
public Sequence withQuality(SequenceQuality... values)
-
withQuality
public Sequence withQuality(java.util.Collection<SequenceQuality> values)
-
withAllelicState
public Sequence withAllelicState(CodeableConcept value)
-
withCopyNumberEvent
public Sequence withCopyNumberEvent(CodeableConcept value)
-
withRepository
public Sequence withRepository(SequenceRepository... values)
-
withRepository
public Sequence withRepository(java.util.Collection<SequenceRepository> values)
-
withStructureVariation
public Sequence withStructureVariation(SequenceStructureVariation value)
-
withText
public Sequence withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public Sequence withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public Sequence withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public Sequence withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public Sequence withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public Sequence withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public Sequence withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public Sequence withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public Sequence withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public Sequence withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public Sequence withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-