Interface PresentationStateClassificationComponentSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
MPRVolumetricPresentationStateDisplayModule
- All Known Implementing Classes:
PlanarMPRVolumetricPresentationStateIOD,VolumeStreamSequence.Item
- Enclosing class:
- PresentationStateClassificationComponentSequence
public static interface PresentationStateClassificationComponentSequence.Holder
extends AttributesWrapper
A class implementing this interface can hold attributes which contain the DICOM tag "Presentation State Classification Component Sequence" (see
PresentationStateClassificationComponentSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanAdds a new Presentation State Classification Component Sequence (seePresentationStateClassificationComponentSequence) with initial capacity 1 (seeensurePresentationStateClassificationComponentSequence(int)) if it does not already exist.ensurePresentationStateClassificationComponentSequence(int initialCapacity) Adds a new Presentation State Classification Component Sequence (seePresentationStateClassificationComponentSequence) if it does not already exist.newPresentationStateClassificationComponentSequence(int initialCapacity) Adds a new Presentation State Classification Component Sequence.default voidRemoves the Presentation State Classification Component Sequence (seePresentationStateClassificationComponentSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
static PresentationStateClassificationComponentSequence.Holder wrap(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- An attributes object containing the Presentation State Classification Component Sequence (seePresentationStateClassificationComponentSequence)- Returns:
- A wrapper object implementing the
PresentationStateClassificationComponentSequence.Holderinterface.
-
getPresentationStateClassificationComponentSequence
default PresentationStateClassificationComponentSequence getPresentationStateClassificationComponentSequence()- Returns:
- the Presentation State Classification Component Sequence (see
PresentationStateClassificationComponentSequence)
-
newPresentationStateClassificationComponentSequence
default PresentationStateClassificationComponentSequence newPresentationStateClassificationComponentSequence(int initialCapacity) Adds a new Presentation State Classification Component Sequence. (seePresentationStateClassificationComponentSequence)- Parameters:
initialCapacity- the initial capacity for the new Presentation State Classification Component Sequence
-
ensurePresentationStateClassificationComponentSequence
default PresentationStateClassificationComponentSequence ensurePresentationStateClassificationComponentSequence(int initialCapacity) Adds a new Presentation State Classification Component Sequence (seePresentationStateClassificationComponentSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Presentation State Classification Component Sequence is created.- Returns:
- Either the already existing Presentation State Classification Component Sequence (see
PresentationStateClassificationComponentSequence) or a new one with capacityinitialCapacity.
-
ensurePresentationStateClassificationComponentSequence
default PresentationStateClassificationComponentSequence ensurePresentationStateClassificationComponentSequence()Adds a new Presentation State Classification Component Sequence (seePresentationStateClassificationComponentSequence) with initial capacity 1 (seeensurePresentationStateClassificationComponentSequence(int)) if it does not already exist.- Returns:
- Either the already existing Presentation State Classification Component Sequence (see
PresentationStateClassificationComponentSequence) or a new one with capacity 1.
-
containsPresentationStateClassificationComponentSequence
default boolean containsPresentationStateClassificationComponentSequence()- Returns:
- Whether it contains the Presentation State Classification Component Sequence (see
PresentationStateClassificationComponentSequence)
-
removePresentationStateClassificationComponentSequence
default void removePresentationStateClassificationComponentSequence()Removes the Presentation State Classification Component Sequence (seePresentationStateClassificationComponentSequence
-