Interface CTExposureSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
CTExposureSequence.SimpleHolder,MultienergyCTAcquisitionSequence.Item
- Enclosing class:
- CTExposureSequence
public static interface CTExposureSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "CT Exposure Sequence" (seeCTExposureSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCTExposureSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static CTExposureSequence.Holder.Builderbuilder()static CTExposureSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsCTExposureSequence()default CTExposureSequenceensureCTExposureSequence()Adds 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 CTExposureSequencegetCTExposureSequence()default CTExposureSequencenewCTExposureSequence(int initialCapacity)Adds a new CT Exposure Sequence.default voidremoveCTExposureSequence()Removes the CT Exposure Sequence (seeCTExposureSequencestatic CTExposureSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static CTExposureSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the CT Exposure Sequence (seeCTExposureSequence)- Returns:
- a wrapper object implementing the
CTExposureSequence.Holderinterface.
-
builder
static CTExposureSequence.Holder.Builder builder()
- Returns:
- a
CTExposureSequence.Holder.Builderto create CT Exposure Sequence Items with a fluent API.
-
builder
static CTExposureSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- 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
default CTExposureSequence getCTExposureSequence()
- Returns:
- the CT Exposure Sequence (see
CTExposureSequence)
-
newCTExposureSequence
default CTExposureSequence newCTExposureSequence(int initialCapacity)
Adds a new CT Exposure Sequence. (seeCTExposureSequence)- Parameters:
initialCapacity- the initial capacity for the new CT Exposure Sequence- Returns:
- the newly created CTExposureSequence.
-
ensureCTExposureSequence
default CTExposureSequence ensureCTExposureSequence(int initialCapacity)
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
default CTExposureSequence 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
-
-