Interface SourceInstanceSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
EncapsulatedDocumentModule,GeneralReferenceModule
- All Known Implementing Classes:
CArmPhotonElectronRadiationIOD,CArmPhotonElectronRadiationRecordIOD,CornealTopographyMapIOD,CRImageIOD,CTImageIOD,DeformableSpatialRegistrationIOD,DermoscopicPhotographyImageIOD,DigitalIntraOralXRayImageIOD,DigitalMammographyXRayImageIOD,DigitalXRayImageIOD,EncapsulatedCDAIOD,EncapsulatedDocumentModule.SimpleWrapper,EncapsulatedMTLIOD,EncapsulatedOBJIOD,EncapsulatedPDFIOD,EncapsulatedSTLIOD,EnhancedUSVolumeIOD,GeneralReferenceModule.SimpleWrapper,MRImageIOD,MultiFrameGrayscaleByteSCImageIOD,MultiFrameGrayscaleWordSCImageIOD,MultiFrameSingleBitSCImageIOD,MultiFrameTrueColorSCImageIOD,NMImageIOD,OphthalmicPhotography16BitImageIOD,OphthalmicPhotography8BitImageIOD,OphthalmicThicknessMapIOD,ParametricMapIOD,PETImageIOD,RealTimeVideoEndoscopicImageIOD,RealTimeVideoPhotographicImageIOD,RoboticArmRadiationIOD,RoboticArmRadiationRecordIOD,RTBeamsDeliveryInstructionIOD,RTBeamsTreatmentRecordIOD,RTBrachyApplicationSetupDeliveryInstructionIOD,RTBrachyTreatmentRecordIOD,RTImageIOD,RTIonBeamsTreatmentRecordIOD,RTIonPlanIOD,RTPhysicianIntentIOD,RTPlanIOD,RTRadiationRecordSetIOD,RTRadiationSalvageRecordIOD,RTRadiationSetDeliveryInstructionIOD,RTRadiationSetIOD,RTSegmentAnnotationIOD,RTStructureSetIOD,RTTreatmentPreparationIOD,RTTreatmentSummaryRecordIOD,SecondaryCaptureImageIOD,SegmentationIOD,SpatialFiducialsIOD,SpatialRegistrationIOD,SurfaceSegmentationIOD,TomotherapeuticRadiationIOD,TomotherapeuticRadiationRecordIOD,USImageIOD,USMultiFrameImageIOD,VideoEndoscopicImageIOD,VideoMicroscopicImageIOD,VideoPhotographicImageIOD,VLEndoscopicImageIOD,VLMicroscopicImageIOD,VLPhotographicImageIOD,VLSlideCoordinatesMicroscopicImageIOD,VLWholeSlideMicroscopyImageIOD,WideFieldOphthalmicPhotography3DCoordinatesImageIOD,WideFieldOphthalmicPhotographyStereographicProjectionImageIOD,XRayAngiographicImageIOD,XRayRadiofluoroscopicImageIOD
- Enclosing class:
- SourceInstanceSequence
public static interface SourceInstanceSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Source Instance Sequence" (seeSourceInstanceSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSourceInstanceSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static SourceInstanceSequence.Holder.Builderbuilder()static SourceInstanceSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsSourceInstanceSequence()default SourceInstanceSequenceensureSourceInstanceSequence()Adds a new Source Instance Sequence (seeSourceInstanceSequence) with initial capacity 1 (seeensureSourceInstanceSequence(int)) if it does not already exist.default SourceInstanceSequenceensureSourceInstanceSequence(int initialCapacity)Adds a new Source Instance Sequence (seeSourceInstanceSequence) if it does not already exist.default SourceInstanceSequencegetSourceInstanceSequence()default SourceInstanceSequencenewSourceInstanceSequence(int initialCapacity)Adds a new Source Instance Sequence.default voidremoveSourceInstanceSequence()Removes the Source Instance Sequence (seeSourceInstanceSequencestatic SourceInstanceSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static SourceInstanceSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Source Instance Sequence (seeSourceInstanceSequence)- Returns:
- a wrapper object implementing the
SourceInstanceSequence.Holderinterface.
-
builder
static SourceInstanceSequence.Holder.Builder builder()
- Returns:
- a
SourceInstanceSequence.Holder.Builderto create Source Instance Sequence Items with a fluent API.
-
builder
static SourceInstanceSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theSourceInstanceSequence.Holder.Builder.- Returns:
- a
SourceInstanceSequence.Holder.Builderto create Source Instance Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSourceInstanceSequence
default SourceInstanceSequence getSourceInstanceSequence()
- Returns:
- the Source Instance Sequence (see
SourceInstanceSequence)
-
newSourceInstanceSequence
default SourceInstanceSequence newSourceInstanceSequence(int initialCapacity)
Adds a new Source Instance Sequence. (seeSourceInstanceSequence)- Parameters:
initialCapacity- the initial capacity for the new Source Instance Sequence- Returns:
- the newly created SourceInstanceSequence.
-
ensureSourceInstanceSequence
default SourceInstanceSequence ensureSourceInstanceSequence(int initialCapacity)
Adds a new Source Instance Sequence (seeSourceInstanceSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Source Instance Sequence is created.- Returns:
- either the already existing Source Instance Sequence (see
SourceInstanceSequence) or a new one with capacityinitialCapacity.
-
ensureSourceInstanceSequence
default SourceInstanceSequence ensureSourceInstanceSequence()
Adds a new Source Instance Sequence (seeSourceInstanceSequence) with initial capacity 1 (seeensureSourceInstanceSequence(int)) if it does not already exist.- Returns:
- either the already existing Source Instance Sequence (see
SourceInstanceSequence) or a new one with capacity 1.
-
containsSourceInstanceSequence
default boolean containsSourceInstanceSequence()
- Returns:
- whether it contains the Source Instance Sequence (see
SourceInstanceSequence)
-
removeSourceInstanceSequence
default void removeSourceInstanceSequence()
Removes the Source Instance Sequence (seeSourceInstanceSequence
-
-