Interface IlluminationTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
OphthalmicPhotographicParametersModule
- All Known Implementing Classes:
IlluminationTypeCodeSequence.SimpleHolder,OphthalmicPhotography16BitImageIOD,OphthalmicPhotography8BitImageIOD,OpticalPathSequence.Item,WideFieldOphthalmicPhotography3DCoordinatesImageIOD,WideFieldOphthalmicPhotographyStereographicProjectionImageIOD
- Enclosing class:
- IlluminationTypeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Illumination Type Code Sequence" (see
IlluminationTypeCodeSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault IlluminationTypeCodeSequenceAdds a new Illumination Type Code Sequence (seeIlluminationTypeCodeSequence) with initial capacity 1 (seeensureIlluminationTypeCodeSequence(int)) if it does not already exist.default IlluminationTypeCodeSequenceensureIlluminationTypeCodeSequence(int initialCapacity) Adds a new Illumination Type Code Sequence (seeIlluminationTypeCodeSequence) if it does not already exist.default IlluminationTypeCodeSequencedefault IlluminationTypeCodeSequencenewIlluminationTypeCodeSequence(int initialCapacity) Adds a new Illumination Type Code Sequence.default voidRemoves the Illumination Type Code Sequence (seeIlluminationTypeCodeSequencewrap(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 Illumination Type Code Sequence (seeIlluminationTypeCodeSequence)- Returns:
- A wrapper object implementing the
IlluminationTypeCodeSequence.Holderinterface.
-
builder
- Returns:
- a
IlluminationTypeCodeSequence.Holder.Builderto create Illumination Type Code Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theIlluminationTypeCodeSequence.Holder.Builder.- Returns:
- a
IlluminationTypeCodeSequence.Holder.Builderto create Illumination Type Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getIlluminationTypeCodeSequence
- Returns:
- the Illumination Type Code Sequence (see
IlluminationTypeCodeSequence)
-
newIlluminationTypeCodeSequence
Adds a new Illumination Type Code Sequence. (seeIlluminationTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Illumination Type Code Sequence
-
ensureIlluminationTypeCodeSequence
Adds a new Illumination Type Code Sequence (seeIlluminationTypeCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Illumination Type Code Sequence is created.- Returns:
- Either the already existing Illumination Type Code Sequence (see
IlluminationTypeCodeSequence) or a new one with capacityinitialCapacity.
-
ensureIlluminationTypeCodeSequence
Adds a new Illumination Type Code Sequence (seeIlluminationTypeCodeSequence) with initial capacity 1 (seeensureIlluminationTypeCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Illumination Type Code Sequence (see
IlluminationTypeCodeSequence) or a new one with capacity 1.
-
containsIlluminationTypeCodeSequence
default boolean containsIlluminationTypeCodeSequence()- Returns:
- Whether it contains the Illumination Type Code Sequence (see
IlluminationTypeCodeSequence)
-
removeIlluminationTypeCodeSequence
default void removeIlluminationTypeCodeSequence()Removes the Illumination Type Code Sequence (seeIlluminationTypeCodeSequence
-