Interface IlluminatorTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
OpticalPathSequence.Item
- Enclosing class:
- IlluminatorTypeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Illuminator Type Code Sequence" (see
IlluminatorTypeCodeSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault IlluminatorTypeCodeSequenceAdds a new Illuminator Type Code Sequence (seeIlluminatorTypeCodeSequence) with initial capacity 1 (seeensureIlluminatorTypeCodeSequence(int)) if it does not already exist.default IlluminatorTypeCodeSequenceensureIlluminatorTypeCodeSequence(int initialCapacity) Adds a new Illuminator Type Code Sequence (seeIlluminatorTypeCodeSequence) if it does not already exist.default IlluminatorTypeCodeSequencedefault IlluminatorTypeCodeSequencenewIlluminatorTypeCodeSequence(int initialCapacity) Adds a new Illuminator Type Code Sequence.default voidRemoves the Illuminator Type Code Sequence (seeIlluminatorTypeCodeSequencewrap(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 Illuminator Type Code Sequence (seeIlluminatorTypeCodeSequence)- Returns:
- A wrapper object implementing the
IlluminatorTypeCodeSequence.Holderinterface.
-
builder
- Returns:
- a
IlluminatorTypeCodeSequence.Holder.Builderto create Illuminator Type Code Sequence Items with a fluent API.
-
builder
- 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
- Returns:
- the Illuminator Type Code Sequence (see
IlluminatorTypeCodeSequence)
-
newIlluminatorTypeCodeSequence
Adds a new Illuminator Type Code Sequence. (seeIlluminatorTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Illuminator Type Code Sequence
-
ensureIlluminatorTypeCodeSequence
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
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
-