Interface ExposureSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTImageModule
- All Known Implementing Classes:
RTImageIOD
- Enclosing class:
- ExposureSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Exposure Sequence" (see
ExposureSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault ExposureSequenceAdds a new Exposure Sequence (seeExposureSequence) with initial capacity 1 (seeensureExposureSequence(int)) if it does not already exist.default ExposureSequenceensureExposureSequence(int initialCapacity) Adds a new Exposure Sequence (seeExposureSequence) if it does not already exist.default ExposureSequencedefault ExposureSequencenewExposureSequence(int initialCapacity) Adds a new Exposure Sequence.default voidRemoves the Exposure Sequence (seeExposureSequencestatic ExposureSequence.Holderwrap(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 Exposure Sequence (seeExposureSequence)- Returns:
- A wrapper object implementing the
ExposureSequence.Holderinterface.
-
getExposureSequence
- Returns:
- the Exposure Sequence (see
ExposureSequence)
-
newExposureSequence
Adds a new Exposure Sequence. (seeExposureSequence)- Parameters:
initialCapacity- the initial capacity for the new Exposure Sequence
-
ensureExposureSequence
Adds a new Exposure Sequence (seeExposureSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Exposure Sequence is created.- Returns:
- Either the already existing Exposure Sequence (see
ExposureSequence) or a new one with capacityinitialCapacity.
-
ensureExposureSequence
Adds a new Exposure Sequence (seeExposureSequence) with initial capacity 1 (seeensureExposureSequence(int)) if it does not already exist.- Returns:
- Either the already existing Exposure Sequence (see
ExposureSequence) or a new one with capacity 1.
-
containsExposureSequence
default boolean containsExposureSequence()- Returns:
- Whether it contains the Exposure Sequence (see
ExposureSequence)
-
removeExposureSequence
default void removeExposureSequence()Removes the Exposure Sequence (seeExposureSequence
-