Interface DICOMStorageSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
OutputDestinationSequence.Item,OutputInformationSequence.Item
- Enclosing class:
- DICOMStorageSequence
A class implementing this interface can hold attributes which contain the DICOM tag "DICOM Storage Sequence" (see
DICOMStorageSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault DICOMStorageSequenceAdds a new DICOM Storage Sequence (seeDICOMStorageSequence) with initial capacity 1 (seeensureDICOMStorageSequence(int)) if it does not already exist.default DICOMStorageSequenceensureDICOMStorageSequence(int initialCapacity) Adds a new DICOM Storage Sequence (seeDICOMStorageSequence) if it does not already exist.default DICOMStorageSequencedefault DICOMStorageSequencenewDICOMStorageSequence(int initialCapacity) Adds a new DICOM Storage Sequence.default voidRemoves the DICOM Storage Sequence (seeDICOMStorageSequencestatic DICOMStorageSequence.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 DICOM Storage Sequence (seeDICOMStorageSequence)- Returns:
- A wrapper object implementing the
DICOMStorageSequence.Holderinterface.
-
getDICOMStorageSequence
- Returns:
- the DICOM Storage Sequence (see
DICOMStorageSequence)
-
newDICOMStorageSequence
Adds a new DICOM Storage Sequence. (seeDICOMStorageSequence)- Parameters:
initialCapacity- the initial capacity for the new DICOM Storage Sequence
-
ensureDICOMStorageSequence
Adds a new DICOM Storage Sequence (seeDICOMStorageSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new DICOM Storage Sequence is created.- Returns:
- Either the already existing DICOM Storage Sequence (see
DICOMStorageSequence) or a new one with capacityinitialCapacity.
-
ensureDICOMStorageSequence
Adds a new DICOM Storage Sequence (seeDICOMStorageSequence) with initial capacity 1 (seeensureDICOMStorageSequence(int)) if it does not already exist.- Returns:
- Either the already existing DICOM Storage Sequence (see
DICOMStorageSequence) or a new one with capacity 1.
-
containsDICOMStorageSequence
default boolean containsDICOMStorageSequence()- Returns:
- Whether it contains the DICOM Storage Sequence (see
DICOMStorageSequence)
-
removeDICOMStorageSequence
default void removeDICOMStorageSequence()Removes the DICOM Storage Sequence (seeDICOMStorageSequence
-