Interface ContainerTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
SpecimenModule
- All Known Implementing Classes:
BreastProjectionXRayImageIOD,BreastTomosynthesisImageIOD,CRImageIOD,CTImageIOD,DigitalIntraOralXRayImageIOD,DigitalMammographyXRayImageIOD,DigitalXRayImageIOD,EnhancedCTImageIOD,EnhancedMRColorImageIOD,EnhancedMRImageIOD,EnhancedPETImageIOD,EnhancedUSVolumeIOD,EnhancedXAImageIOD,EnhancedXRFImageIOD,LegacyConvertedEnhancedCTImageIOD,LegacyConvertedEnhancedMRImageIOD,LegacyConvertedEnhancedPETImageIOD,MRImageIOD,MRSpectroscopyIOD,MultiFrameGrayscaleByteSCImageIOD,MultiFrameGrayscaleWordSCImageIOD,MultiFrameSingleBitSCImageIOD,MultiFrameTrueColorSCImageIOD,NMImageIOD,ParametricMapIOD,PETImageIOD,RawDataIOD,RealTimeVideoEndoscopicImageIOD,RealTimeVideoPhotographicImageIOD,ScheduledSpecimenSequence.Item,SecondaryCaptureImageIOD,SegmentationIOD,SurfaceScanMeshIOD,SurfaceScanPointCloudIOD,TractographyResultsIOD,USImageIOD,USMultiFrameImageIOD,VideoEndoscopicImageIOD,VideoMicroscopicImageIOD,VideoPhotographicImageIOD,VLEndoscopicImageIOD,VLMicroscopicImageIOD,VLPhotographicImageIOD,VLSlideCoordinatesMicroscopicImageIOD,VLWholeSlideMicroscopyImageIOD,XRay3DAngiographicImageIOD,XRay3DCraniofacialImageIOD,XRayAngiographicImageIOD,XRayRadiofluoroscopicImageIOD
- Enclosing class:
- ContainerTypeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Container Type Code Sequence" (see
ContainerTypeCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault ContainerTypeCodeSequenceAdds a new Container Type Code Sequence (seeContainerTypeCodeSequence) with initial capacity 1 (seeensureContainerTypeCodeSequence(int)) if it does not already exist.default ContainerTypeCodeSequenceensureContainerTypeCodeSequence(int initialCapacity) Adds a new Container Type Code Sequence (seeContainerTypeCodeSequence) if it does not already exist.default ContainerTypeCodeSequencedefault ContainerTypeCodeSequencenewContainerTypeCodeSequence(int initialCapacity) Adds a new Container Type Code Sequence.default voidRemoves the Container Type Code Sequence (seeContainerTypeCodeSequencewrap(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 Container Type Code Sequence (seeContainerTypeCodeSequence)- Returns:
- A wrapper object implementing the
ContainerTypeCodeSequence.Holderinterface.
-
getContainerTypeCodeSequence
- Returns:
- the Container Type Code Sequence (see
ContainerTypeCodeSequence)
-
newContainerTypeCodeSequence
Adds a new Container Type Code Sequence. (seeContainerTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Container Type Code Sequence
-
ensureContainerTypeCodeSequence
Adds a new Container Type Code Sequence (seeContainerTypeCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Container Type Code Sequence is created.- Returns:
- Either the already existing Container Type Code Sequence (see
ContainerTypeCodeSequence) or a new one with capacityinitialCapacity.
-
ensureContainerTypeCodeSequence
Adds a new Container Type Code Sequence (seeContainerTypeCodeSequence) with initial capacity 1 (seeensureContainerTypeCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Container Type Code Sequence (see
ContainerTypeCodeSequence) or a new one with capacity 1.
-
containsContainerTypeCodeSequence
default boolean containsContainerTypeCodeSequence()- Returns:
- Whether it contains the Container Type Code Sequence (see
ContainerTypeCodeSequence)
-
removeContainerTypeCodeSequence
default void removeContainerTypeCodeSequence()Removes the Container Type Code Sequence (seeContainerTypeCodeSequence
-