Interface CTExposureSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
MultienergyCTAcquisitionSequence.Item
- Enclosing class:
- CTExposureSequence
A class implementing this interface can hold attributes which contain the DICOM tag "CT Exposure Sequence" (see
CTExposureSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault CTExposureSequenceAdds a new CT Exposure Sequence (seeCTExposureSequence) with initial capacity 1 (seeensureCTExposureSequence(int)) if it does not already exist.default CTExposureSequenceensureCTExposureSequence(int initialCapacity) Adds a new CT Exposure Sequence (seeCTExposureSequence) if it does not already exist.default CTExposureSequencedefault CTExposureSequencenewCTExposureSequence(int initialCapacity) Adds a new CT Exposure Sequence.default voidRemoves the CT Exposure Sequence (seeCTExposureSequencestatic CTExposureSequence.Holderwrap(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 CT Exposure Sequence (seeCTExposureSequence)- Returns:
- A wrapper object implementing the
CTExposureSequence.Holderinterface.
-
builder
- Returns:
- a
CTExposureSequence.Holder.Builderto create CT Exposure Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theCTExposureSequence.Holder.Builder.- Returns:
- a
CTExposureSequence.Holder.Builderto create CT Exposure Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getCTExposureSequence
- Returns:
- the CT Exposure Sequence (see
CTExposureSequence)
-
newCTExposureSequence
Adds a new CT Exposure Sequence. (seeCTExposureSequence)- Parameters:
initialCapacity- the initial capacity for the new CT Exposure Sequence
-
ensureCTExposureSequence
Adds a new CT Exposure Sequence (seeCTExposureSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new CT Exposure Sequence is created.- Returns:
- Either the already existing CT Exposure Sequence (see
CTExposureSequence) or a new one with capacityinitialCapacity.
-
ensureCTExposureSequence
Adds a new CT Exposure Sequence (seeCTExposureSequence) with initial capacity 1 (seeensureCTExposureSequence(int)) if it does not already exist.- Returns:
- Either the already existing CT Exposure Sequence (see
CTExposureSequence) or a new one with capacity 1.
-
containsCTExposureSequence
default boolean containsCTExposureSequence()- Returns:
- Whether it contains the CT Exposure Sequence (see
CTExposureSequence)
-
removeCTExposureSequence
default void removeCTExposureSequence()Removes the CT Exposure Sequence (seeCTExposureSequence
-