Interface CTDIPhantomTypeCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
CTImageModule
- All Known Implementing Classes:
AcquisitionProtocolElementSequence.Item,CTExposureSequence.Item,CTImageIOD,CTImageModule.SimpleWrapper
- Enclosing class:
- CTDIPhantomTypeCodeSequence
public static interface CTDIPhantomTypeCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "CTDI Phantom Type Code Sequence" (seeCTDIPhantomTypeCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCTDIPhantomTypeCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static CTDIPhantomTypeCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the CTDI Phantom Type Code Sequence (seeCTDIPhantomTypeCodeSequence)- Returns:
- a wrapper object implementing the
CTDIPhantomTypeCodeSequence.Holderinterface.
-
builder
static CTDIPhantomTypeCodeSequence.Holder.Builder builder()
- Returns:
- a
CTDIPhantomTypeCodeSequence.Holder.Builderto create CTDI Phantom Type Code Sequence Items with a fluent API.
-
builder
static CTDIPhantomTypeCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theCTDIPhantomTypeCodeSequence.Holder.Builder.- Returns:
- a
CTDIPhantomTypeCodeSequence.Holder.Builderto create CTDI Phantom Type Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getCTDIPhantomTypeCodeSequence
default CTDIPhantomTypeCodeSequence getCTDIPhantomTypeCodeSequence()
- Returns:
- the CTDI Phantom Type Code Sequence (see
CTDIPhantomTypeCodeSequence)
-
newCTDIPhantomTypeCodeSequence
default CTDIPhantomTypeCodeSequence newCTDIPhantomTypeCodeSequence(int initialCapacity)
Adds a new CTDI Phantom Type Code Sequence. (seeCTDIPhantomTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new CTDI Phantom Type Code Sequence- Returns:
- the newly created CTDIPhantomTypeCodeSequence.
-
ensureCTDIPhantomTypeCodeSequence
default CTDIPhantomTypeCodeSequence ensureCTDIPhantomTypeCodeSequence(int initialCapacity)
Adds a new CTDI Phantom Type Code Sequence (seeCTDIPhantomTypeCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new CTDI Phantom Type Code Sequence is created.- Returns:
- either the already existing CTDI Phantom Type Code Sequence (see
CTDIPhantomTypeCodeSequence) or a new one with capacityinitialCapacity.
-
ensureCTDIPhantomTypeCodeSequence
default CTDIPhantomTypeCodeSequence ensureCTDIPhantomTypeCodeSequence()
Adds a new CTDI Phantom Type Code Sequence (seeCTDIPhantomTypeCodeSequence) with initial capacity 1 (seeensureCTDIPhantomTypeCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing CTDI Phantom Type Code Sequence (see
CTDIPhantomTypeCodeSequence) or a new one with capacity 1.
-
containsCTDIPhantomTypeCodeSequence
default boolean containsCTDIPhantomTypeCodeSequence()
- Returns:
- whether it contains the CTDI Phantom Type Code Sequence (see
CTDIPhantomTypeCodeSequence)
-
removeCTDIPhantomTypeCodeSequence
default void removeCTDIPhantomTypeCodeSequence()
Removes the CTDI Phantom Type Code Sequence (seeCTDIPhantomTypeCodeSequence
-
-