Interface ChannelDescriptionCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
OphthalmicPhotographicParametersModule,VLImageModule
- All Known Implementing Classes:
DermoscopicPhotographyImageIOD,OphthalmicPhotographicParametersModule.SimpleWrapper,OphthalmicPhotography16BitImageIOD,OphthalmicPhotography8BitImageIOD,OpticalPathSequence.Item,RealTimeVideoEndoscopicImageIOD,RealTimeVideoPhotographicImageIOD,VideoEndoscopicImageIOD,VideoMicroscopicImageIOD,VideoPhotographicImageIOD,VLEndoscopicImageIOD,VLImageModule.SimpleWrapper,VLMicroscopicImageIOD,VLPhotographicImageIOD,VLSlideCoordinatesMicroscopicImageIOD,WideFieldOphthalmicPhotography3DCoordinatesImageIOD,WideFieldOphthalmicPhotographyStereographicProjectionImageIOD
- Enclosing class:
- ChannelDescriptionCodeSequence
public static interface ChannelDescriptionCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Channel Description Code Sequence" (seeChannelDescriptionCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classChannelDescriptionCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static ChannelDescriptionCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Channel Description Code Sequence (seeChannelDescriptionCodeSequence)- Returns:
- a wrapper object implementing the
ChannelDescriptionCodeSequence.Holderinterface.
-
builder
static ChannelDescriptionCodeSequence.Holder.Builder 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
default ChannelDescriptionCodeSequence getChannelDescriptionCodeSequence()
- Returns:
- the Channel Description Code Sequence (see
ChannelDescriptionCodeSequence)
-
newChannelDescriptionCodeSequence
default ChannelDescriptionCodeSequence newChannelDescriptionCodeSequence(int initialCapacity)
Adds a new Channel Description Code Sequence. (seeChannelDescriptionCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Channel Description Code Sequence- Returns:
- the newly created ChannelDescriptionCodeSequence.
-
ensureChannelDescriptionCodeSequence
default ChannelDescriptionCodeSequence ensureChannelDescriptionCodeSequence(int initialCapacity)
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
default ChannelDescriptionCodeSequence 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
-
-