Interface DeviceSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
DeviceModule
All Known Implementing Classes:
BreastProjectionXRayImageIOD, BreastTomosynthesisImageIOD, CRImageIOD, CTImageIOD, DeviceSequence.SimpleHolder, DigitalIntraOralXRayImageIOD, DigitalMammographyXRayImageIOD, DigitalXRayImageIOD, EnhancedCTImageIOD, EnhancedMRColorImageIOD, EnhancedMRImageIOD, EnhancedUSVolumeIOD, EnhancedXAImageIOD, EnhancedXRFImageIOD, IntravascularOpticalCoherenceTomographyImageIOD, LegacyConvertedEnhancedCTImageIOD, LegacyConvertedEnhancedMRImageIOD, MRImageIOD, MultiFrameGrayscaleByteSCImageIOD, MultiFrameGrayscaleWordSCImageIOD, MultiFrameSingleBitSCImageIOD, MultiFrameTrueColorSCImageIOD, NMImageIOD, OphthalmicPhotography16BitImageIOD, OphthalmicPhotography8BitImageIOD, ParametricMapIOD, PETImageIOD, RealTimeVideoEndoscopicImageIOD, RealTimeVideoPhotographicImageIOD, RTImageIOD, SecondaryCaptureImageIOD, USImageIOD, USMultiFrameImageIOD, VideoEndoscopicImageIOD, VideoMicroscopicImageIOD, VideoPhotographicImageIOD, VLEndoscopicImageIOD, VLMicroscopicImageIOD, VLPhotographicImageIOD, VLSlideCoordinatesMicroscopicImageIOD, XRay3DAngiographicImageIOD, XRay3DCraniofacialImageIOD, XRayAngiographicImageIOD, XRayRadiofluoroscopicImageIOD
Enclosing class:
DeviceSequence

public static interface DeviceSequence.Holder extends AttributesWrapper
A class implementing this interface can hold attributes which contain the DICOM tag "Device Sequence" (see DeviceSequence)
  • Method Details

    • wrap

      static DeviceSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Device Sequence (see DeviceSequence)
      Returns:
      A wrapper object implementing the DeviceSequence.Holder interface.
    • builder

      Returns:
      a DeviceSequence.Holder.Builder to create Device Sequence Items with a fluent API.
    • builder

      static DeviceSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - The Attributes to be wrapped by the DeviceSequence.Holder.Builder.
      Returns:
      a DeviceSequence.Holder.Builder to create Device Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
    • getDeviceSequence

      default DeviceSequence getDeviceSequence()
      Returns:
      the Device Sequence (see DeviceSequence)
    • newDeviceSequence

      default DeviceSequence newDeviceSequence(int initialCapacity)
      Adds a new Device Sequence. (see DeviceSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Device Sequence
    • ensureDeviceSequence

      default DeviceSequence ensureDeviceSequence(int initialCapacity)
      Adds a new Device Sequence (see DeviceSequence) if it does not already exist. (see Attributes.ensureSequence(int, int)
      Parameters:
      initialCapacity - The initial capacity (see ArrayList(int)) if a new Device Sequence is created.
      Returns:
      Either the already existing Device Sequence (see DeviceSequence) or a new one with capacity initialCapacity.
    • ensureDeviceSequence

      default DeviceSequence ensureDeviceSequence()
      Adds a new Device Sequence (see DeviceSequence) with initial capacity 1 (see ensureDeviceSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Device Sequence (see DeviceSequence) or a new one with capacity 1.
    • containsDeviceSequence

      default boolean containsDeviceSequence()
      Returns:
      Whether it contains the Device Sequence (see DeviceSequence)
    • removeDeviceSequence

      default void removeDeviceSequence()
      Removes the Device Sequence (see DeviceSequence