Interface MediaInstalledSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
PrinterConfigurationSequence.Item
- Enclosing class:
- MediaInstalledSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Media Installed Sequence" (see
MediaInstalledSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault MediaInstalledSequenceAdds a new Media Installed Sequence (seeMediaInstalledSequence) with initial capacity 1 (seeensureMediaInstalledSequence(int)) if it does not already exist.default MediaInstalledSequenceensureMediaInstalledSequence(int initialCapacity) Adds a new Media Installed Sequence (seeMediaInstalledSequence) if it does not already exist.default MediaInstalledSequencedefault MediaInstalledSequencenewMediaInstalledSequence(int initialCapacity) Adds a new Media Installed Sequence.default voidRemoves the Media Installed Sequence (seeMediaInstalledSequencewrap(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 Media Installed Sequence (seeMediaInstalledSequence)- Returns:
- A wrapper object implementing the
MediaInstalledSequence.Holderinterface.
-
getMediaInstalledSequence
- Returns:
- the Media Installed Sequence (see
MediaInstalledSequence)
-
newMediaInstalledSequence
Adds a new Media Installed Sequence. (seeMediaInstalledSequence)- Parameters:
initialCapacity- the initial capacity for the new Media Installed Sequence
-
ensureMediaInstalledSequence
Adds a new Media Installed Sequence (seeMediaInstalledSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Media Installed Sequence is created.- Returns:
- Either the already existing Media Installed Sequence (see
MediaInstalledSequence) or a new one with capacityinitialCapacity.
-
ensureMediaInstalledSequence
Adds a new Media Installed Sequence (seeMediaInstalledSequence) with initial capacity 1 (seeensureMediaInstalledSequence(int)) if it does not already exist.- Returns:
- Either the already existing Media Installed Sequence (see
MediaInstalledSequence) or a new one with capacity 1.
-
containsMediaInstalledSequence
default boolean containsMediaInstalledSequence()- Returns:
- Whether it contains the Media Installed Sequence (see
MediaInstalledSequence)
-
removeMediaInstalledSequence
default void removeMediaInstalledSequence()Removes the Media Installed Sequence (seeMediaInstalledSequence
-