Interface ChannelDescriptionCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
OphthalmicPhotographicParametersModule,VLImageModule
- All Known Implementing Classes:
DermoscopicPhotographyImageIOD,OphthalmicPhotography16BitImageIOD,OphthalmicPhotography8BitImageIOD,OpticalPathSequence.Item,RealTimeVideoEndoscopicImageIOD,RealTimeVideoPhotographicImageIOD,VideoEndoscopicImageIOD,VideoMicroscopicImageIOD,VideoPhotographicImageIOD,VLEndoscopicImageIOD,VLMicroscopicImageIOD,VLPhotographicImageIOD,VLSlideCoordinatesMicroscopicImageIOD,WideFieldOphthalmicPhotography3DCoordinatesImageIOD,WideFieldOphthalmicPhotographyStereographicProjectionImageIOD
- Enclosing class:
- ChannelDescriptionCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Channel Description Code Sequence" (see
ChannelDescriptionCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault ChannelDescriptionCodeSequenceAdds a new Channel Description Code Sequence (seeChannelDescriptionCodeSequence) with initial capacity 1 (seeensureChannelDescriptionCodeSequence(int)) if it does not already exist.default ChannelDescriptionCodeSequenceensureChannelDescriptionCodeSequence(int initialCapacity) Adds a new Channel Description Code Sequence (seeChannelDescriptionCodeSequence) if it does not already exist.default ChannelDescriptionCodeSequencedefault ChannelDescriptionCodeSequencenewChannelDescriptionCodeSequence(int initialCapacity) Adds a new Channel Description Code Sequence.default voidRemoves the Channel Description Code Sequence (seeChannelDescriptionCodeSequencewrap(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 Channel Description Code Sequence (seeChannelDescriptionCodeSequence)- Returns:
- A wrapper object implementing the
ChannelDescriptionCodeSequence.Holderinterface.
-
getChannelDescriptionCodeSequence
- Returns:
- the Channel Description Code Sequence (see
ChannelDescriptionCodeSequence)
-
newChannelDescriptionCodeSequence
Adds a new Channel Description Code Sequence. (seeChannelDescriptionCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Channel Description Code Sequence
-
ensureChannelDescriptionCodeSequence
Adds a new Channel Description Code Sequence (seeChannelDescriptionCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Channel Description Code Sequence is created.- Returns:
- Either the already existing Channel Description Code Sequence (see
ChannelDescriptionCodeSequence) or a new one with capacityinitialCapacity.
-
ensureChannelDescriptionCodeSequence
Adds a new Channel Description Code Sequence (seeChannelDescriptionCodeSequence) with initial capacity 1 (seeensureChannelDescriptionCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Channel Description Code Sequence (see
ChannelDescriptionCodeSequence) or a new one with capacity 1.
-
containsChannelDescriptionCodeSequence
default boolean containsChannelDescriptionCodeSequence()- Returns:
- Whether it contains the Channel Description Code Sequence (see
ChannelDescriptionCodeSequence)
-
removeChannelDescriptionCodeSequence
default void removeChannelDescriptionCodeSequence()Removes the Channel Description Code Sequence (seeChannelDescriptionCodeSequence
-