Interface MultienergyCTPathSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
EnhancedMultiEnergyCTAcquisitionModule
- All Known Implementing Classes:
EnhancedCTImageIOD,MultienergyCTAcquisitionSequence.Item
- Enclosing class:
- MultienergyCTPathSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Multi-energy CT Path Sequence" (see
MultienergyCTPathSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault MultienergyCTPathSequenceAdds a new Multi-energy CT Path Sequence (seeMultienergyCTPathSequence) with initial capacity 1 (seeensureMultienergyCTPathSequence(int)) if it does not already exist.default MultienergyCTPathSequenceensureMultienergyCTPathSequence(int initialCapacity) Adds a new Multi-energy CT Path Sequence (seeMultienergyCTPathSequence) if it does not already exist.default MultienergyCTPathSequencedefault MultienergyCTPathSequencenewMultienergyCTPathSequence(int initialCapacity) Adds a new Multi-energy CT Path Sequence.default voidRemoves the Multi-energy CT Path Sequence (seeMultienergyCTPathSequencewrap(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 Multi-energy CT Path Sequence (seeMultienergyCTPathSequence)- Returns:
- A wrapper object implementing the
MultienergyCTPathSequence.Holderinterface.
-
builder
- Returns:
- a
MultienergyCTPathSequence.Holder.Builderto create Multi-energy CT Path Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theMultienergyCTPathSequence.Holder.Builder.- Returns:
- a
MultienergyCTPathSequence.Holder.Builderto create Multi-energy CT Path Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getMultienergyCTPathSequence
- Returns:
- the Multi-energy CT Path Sequence (see
MultienergyCTPathSequence)
-
newMultienergyCTPathSequence
Adds a new Multi-energy CT Path Sequence. (seeMultienergyCTPathSequence)- Parameters:
initialCapacity- the initial capacity for the new Multi-energy CT Path Sequence
-
ensureMultienergyCTPathSequence
Adds a new Multi-energy CT Path Sequence (seeMultienergyCTPathSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Multi-energy CT Path Sequence is created.- Returns:
- Either the already existing Multi-energy CT Path Sequence (see
MultienergyCTPathSequence) or a new one with capacityinitialCapacity.
-
ensureMultienergyCTPathSequence
Adds a new Multi-energy CT Path Sequence (seeMultienergyCTPathSequence) with initial capacity 1 (seeensureMultienergyCTPathSequence(int)) if it does not already exist.- Returns:
- Either the already existing Multi-energy CT Path Sequence (see
MultienergyCTPathSequence) or a new one with capacity 1.
-
containsMultienergyCTPathSequence
default boolean containsMultienergyCTPathSequence()- Returns:
- Whether it contains the Multi-energy CT Path Sequence (see
MultienergyCTPathSequence)
-
removeMultienergyCTPathSequence
default void removeMultienergyCTPathSequence()Removes the Multi-energy CT Path Sequence (seeMultienergyCTPathSequence
-