Interface ContainerTypeCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.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,MicroscopyBulkSimpleAnnotationsIOD,MRImageIOD,MRSpectroscopyIOD,MultiFrameGrayscaleByteSCImageIOD,MultiFrameGrayscaleWordSCImageIOD,MultiFrameSingleBitSCImageIOD,MultiFrameTrueColorSCImageIOD,NMImageIOD,ParametricMapIOD,PETImageIOD,RawDataIOD,RealTimeVideoEndoscopicImageIOD,RealTimeVideoPhotographicImageIOD,ScheduledSpecimenSequence.Item,SecondaryCaptureImageIOD,SegmentationIOD,SpecimenModule.SimpleWrapper,SurfaceScanMeshIOD,SurfaceScanPointCloudIOD,TractographyResultsIOD,USImageIOD,USMultiFrameImageIOD,VideoEndoscopicImageIOD,VideoMicroscopicImageIOD,VideoPhotographicImageIOD,VLEndoscopicImageIOD,VLMicroscopicImageIOD,VLPhotographicImageIOD,VLSlideCoordinatesMicroscopicImageIOD,VLWholeSlideMicroscopyImageIOD,XRay3DAngiographicImageIOD,XRay3DCraniofacialImageIOD,XRayAngiographicImageIOD,XRayRadiofluoroscopicImageIOD
- Enclosing class:
- ContainerTypeCodeSequence
public static interface ContainerTypeCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Container Type Code Sequence" (seeContainerTypeCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classContainerTypeCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static ContainerTypeCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Container Type Code Sequence (seeContainerTypeCodeSequence)- Returns:
- a wrapper object implementing the
ContainerTypeCodeSequence.Holderinterface.
-
builder
static ContainerTypeCodeSequence.Holder.Builder builder()
- Returns:
- a
ContainerTypeCodeSequence.Holder.Builderto create Container Type Code Sequence Items with a fluent API.
-
builder
static ContainerTypeCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theContainerTypeCodeSequence.Holder.Builder.- Returns:
- a
ContainerTypeCodeSequence.Holder.Builderto create Container Type Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getContainerTypeCodeSequence
default ContainerTypeCodeSequence getContainerTypeCodeSequence()
- Returns:
- the Container Type Code Sequence (see
ContainerTypeCodeSequence)
-
newContainerTypeCodeSequence
default ContainerTypeCodeSequence newContainerTypeCodeSequence(int initialCapacity)
Adds a new Container Type Code Sequence. (seeContainerTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Container Type Code Sequence- Returns:
- the newly created ContainerTypeCodeSequence.
-
ensureContainerTypeCodeSequence
default ContainerTypeCodeSequence ensureContainerTypeCodeSequence(int initialCapacity)
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
default ContainerTypeCodeSequence 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
-
-