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)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default 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.
-
builder
- Returns:
- a
ChannelDescriptionCodeSequence.Holder.Builderto create Channel Description Code Sequence Items with a fluent API.
-
builder
static ChannelDescriptionCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theChannelDescriptionCodeSequence.Holder.Builder.- Returns:
- a
ChannelDescriptionCodeSequence.Holder.Builderto create Channel Description Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
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
-