Interface BackgroundIlluminationColorCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
VisualFieldStaticPerimetryTestParametersModule
- All Known Implementing Classes:
BackgroundIlluminationColorCodeSequence.SimpleHolder,OphthalmicVisualFieldStaticPerimetryMeasurementsIOD
- Enclosing class:
- BackgroundIlluminationColorCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Background Illumination Color Code Sequence" (see
BackgroundIlluminationColorCodeSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Background Illumination Color Code Sequence (seeBackgroundIlluminationColorCodeSequence) with initial capacity 1 (seeensureBackgroundIlluminationColorCodeSequence(int)) if it does not already exist.ensureBackgroundIlluminationColorCodeSequence(int initialCapacity) Adds a new Background Illumination Color Code Sequence (seeBackgroundIlluminationColorCodeSequence) if it does not already exist.newBackgroundIlluminationColorCodeSequence(int initialCapacity) Adds a new Background Illumination Color Code Sequence.default voidRemoves the Background Illumination Color Code Sequence (seeBackgroundIlluminationColorCodeSequencewrap(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 Background Illumination Color Code Sequence (seeBackgroundIlluminationColorCodeSequence)- Returns:
- A wrapper object implementing the
BackgroundIlluminationColorCodeSequence.Holderinterface.
-
builder
- Returns:
- a
BackgroundIlluminationColorCodeSequence.Holder.Builderto create Background Illumination Color Code Sequence Items with a fluent API.
-
builder
static BackgroundIlluminationColorCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theBackgroundIlluminationColorCodeSequence.Holder.Builder.- Returns:
- a
BackgroundIlluminationColorCodeSequence.Holder.Builderto create Background Illumination Color Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getBackgroundIlluminationColorCodeSequence
- Returns:
- the Background Illumination Color Code Sequence (see
BackgroundIlluminationColorCodeSequence)
-
newBackgroundIlluminationColorCodeSequence
default BackgroundIlluminationColorCodeSequence newBackgroundIlluminationColorCodeSequence(int initialCapacity) Adds a new Background Illumination Color Code Sequence. (seeBackgroundIlluminationColorCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Background Illumination Color Code Sequence
-
ensureBackgroundIlluminationColorCodeSequence
default BackgroundIlluminationColorCodeSequence ensureBackgroundIlluminationColorCodeSequence(int initialCapacity) Adds a new Background Illumination Color Code Sequence (seeBackgroundIlluminationColorCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Background Illumination Color Code Sequence is created.- Returns:
- Either the already existing Background Illumination Color Code Sequence (see
BackgroundIlluminationColorCodeSequence) or a new one with capacityinitialCapacity.
-
ensureBackgroundIlluminationColorCodeSequence
Adds a new Background Illumination Color Code Sequence (seeBackgroundIlluminationColorCodeSequence) with initial capacity 1 (seeensureBackgroundIlluminationColorCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Background Illumination Color Code Sequence (see
BackgroundIlluminationColorCodeSequence) or a new one with capacity 1.
-
containsBackgroundIlluminationColorCodeSequence
default boolean containsBackgroundIlluminationColorCodeSequence()- Returns:
- Whether it contains the Background Illumination Color Code Sequence (see
BackgroundIlluminationColorCodeSequence)
-
removeBackgroundIlluminationColorCodeSequence
default void removeBackgroundIlluminationColorCodeSequence()Removes the Background Illumination Color Code Sequence (seeBackgroundIlluminationColorCodeSequence
-