Interface PertinentOtherEvidenceSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
SRDocumentGeneralModule
- All Known Implementing Classes:
AcquisitionContextSRIOD,BasicTextSRIOD,ChestCADSRIOD,ColonCADSRIOD,Comprehensive3DSRIOD,ComprehensiveSRIOD,EnhancedSRIOD,EnhancedXRayRadiationDoseStructuredReportIOD,ExtensibleSRIOD,ImplantationPlanSRDocumentIOD,MacularGridThicknessAndVolumeReportIOD,MammographyCADSRIOD,PatientRadiationDoseStructuredReportIOD,PerformedImagingAgentAdministrationSRIOD,PertinentOtherEvidenceSequence.SimpleHolder,PlannedImagingAgentAdministrationSRIOD,ProcedureLogIOD,RadiopharmaceuticalRadiationDoseSRIOD,SimplifiedAdultEchoSRIOD,SpectaclePrescriptionReportIOD,XRayRadiationDoseSRIOD
- Enclosing class:
- PertinentOtherEvidenceSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Pertinent Other Evidence Sequence" (see
PertinentOtherEvidenceSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault PertinentOtherEvidenceSequenceAdds a new Pertinent Other Evidence Sequence (seePertinentOtherEvidenceSequence) with initial capacity 1 (seeensurePertinentOtherEvidenceSequence(int)) if it does not already exist.default PertinentOtherEvidenceSequenceensurePertinentOtherEvidenceSequence(int initialCapacity) Adds a new Pertinent Other Evidence Sequence (seePertinentOtherEvidenceSequence) if it does not already exist.default PertinentOtherEvidenceSequencedefault PertinentOtherEvidenceSequencenewPertinentOtherEvidenceSequence(int initialCapacity) Adds a new Pertinent Other Evidence Sequence.default voidRemoves the Pertinent Other Evidence Sequence (seePertinentOtherEvidenceSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Pertinent Other Evidence Sequence (seePertinentOtherEvidenceSequence)- Returns:
- A wrapper object implementing the
PertinentOtherEvidenceSequence.Holderinterface.
-
builder
- Returns:
- a
PertinentOtherEvidenceSequence.Holder.Builderto create Pertinent Other Evidence Sequence Items with a fluent API.
-
builder
static PertinentOtherEvidenceSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by thePertinentOtherEvidenceSequence.Holder.Builder.- Returns:
- a
PertinentOtherEvidenceSequence.Holder.Builderto create Pertinent Other Evidence Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPertinentOtherEvidenceSequence
- Returns:
- the Pertinent Other Evidence Sequence (see
PertinentOtherEvidenceSequence)
-
newPertinentOtherEvidenceSequence
Adds a new Pertinent Other Evidence Sequence. (seePertinentOtherEvidenceSequence)- Parameters:
initialCapacity- the initial capacity for the new Pertinent Other Evidence Sequence
-
ensurePertinentOtherEvidenceSequence
Adds a new Pertinent Other Evidence Sequence (seePertinentOtherEvidenceSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Pertinent Other Evidence Sequence is created.- Returns:
- Either the already existing Pertinent Other Evidence Sequence (see
PertinentOtherEvidenceSequence) or a new one with capacityinitialCapacity.
-
ensurePertinentOtherEvidenceSequence
Adds a new Pertinent Other Evidence Sequence (seePertinentOtherEvidenceSequence) with initial capacity 1 (seeensurePertinentOtherEvidenceSequence(int)) if it does not already exist.- Returns:
- Either the already existing Pertinent Other Evidence Sequence (see
PertinentOtherEvidenceSequence) or a new one with capacity 1.
-
containsPertinentOtherEvidenceSequence
default boolean containsPertinentOtherEvidenceSequence()- Returns:
- Whether it contains the Pertinent Other Evidence Sequence (see
PertinentOtherEvidenceSequence)
-
removePertinentOtherEvidenceSequence
default void removePertinentOtherEvidenceSequence()Removes the Pertinent Other Evidence Sequence (seePertinentOtherEvidenceSequence
-