Interface IlluminatorTypeCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
IlluminatorTypeCodeSequence.SimpleHolder,OpticalPathSequence.Item
- Enclosing class:
- IlluminatorTypeCodeSequence
public static interface IlluminatorTypeCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Illuminator Type Code Sequence" (seeIlluminatorTypeCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIlluminatorTypeCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static IlluminatorTypeCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Illuminator Type Code Sequence (seeIlluminatorTypeCodeSequence)- Returns:
- a wrapper object implementing the
IlluminatorTypeCodeSequence.Holderinterface.
-
builder
static IlluminatorTypeCodeSequence.Holder.Builder builder()
- Returns:
- a
IlluminatorTypeCodeSequence.Holder.Builderto create Illuminator Type Code Sequence Items with a fluent API.
-
builder
static IlluminatorTypeCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theIlluminatorTypeCodeSequence.Holder.Builder.- Returns:
- a
IlluminatorTypeCodeSequence.Holder.Builderto create Illuminator Type Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getIlluminatorTypeCodeSequence
default IlluminatorTypeCodeSequence getIlluminatorTypeCodeSequence()
- Returns:
- the Illuminator Type Code Sequence (see
IlluminatorTypeCodeSequence)
-
newIlluminatorTypeCodeSequence
default IlluminatorTypeCodeSequence newIlluminatorTypeCodeSequence(int initialCapacity)
Adds a new Illuminator Type Code Sequence. (seeIlluminatorTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Illuminator Type Code Sequence- Returns:
- the newly created IlluminatorTypeCodeSequence.
-
ensureIlluminatorTypeCodeSequence
default IlluminatorTypeCodeSequence ensureIlluminatorTypeCodeSequence(int initialCapacity)
Adds a new Illuminator Type Code Sequence (seeIlluminatorTypeCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Illuminator Type Code Sequence is created.- Returns:
- either the already existing Illuminator Type Code Sequence (see
IlluminatorTypeCodeSequence) or a new one with capacityinitialCapacity.
-
ensureIlluminatorTypeCodeSequence
default IlluminatorTypeCodeSequence ensureIlluminatorTypeCodeSequence()
Adds a new Illuminator Type Code Sequence (seeIlluminatorTypeCodeSequence) with initial capacity 1 (seeensureIlluminatorTypeCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Illuminator Type Code Sequence (see
IlluminatorTypeCodeSequence) or a new one with capacity 1.
-
containsIlluminatorTypeCodeSequence
default boolean containsIlluminatorTypeCodeSequence()
- Returns:
- whether it contains the Illuminator Type Code Sequence (see
IlluminatorTypeCodeSequence)
-
removeIlluminatorTypeCodeSequence
default void removeIlluminatorTypeCodeSequence()
Removes the Illuminator Type Code Sequence (seeIlluminatorTypeCodeSequence
-
-