Interface CTDIPhantomTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
CTImageModule
- All Known Implementing Classes:
AcquisitionProtocolElementSequence.Item,CTExposureSequence.Item,CTImageIOD
- Enclosing class:
- CTDIPhantomTypeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "CTDI Phantom Type Code Sequence" (see
CTDIPhantomTypeCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault CTDIPhantomTypeCodeSequenceAdds a new CTDI Phantom Type Code Sequence (seeCTDIPhantomTypeCodeSequence) with initial capacity 1 (seeensureCTDIPhantomTypeCodeSequence(int)) if it does not already exist.default CTDIPhantomTypeCodeSequenceensureCTDIPhantomTypeCodeSequence(int initialCapacity) Adds a new CTDI Phantom Type Code Sequence (seeCTDIPhantomTypeCodeSequence) if it does not already exist.default CTDIPhantomTypeCodeSequencedefault CTDIPhantomTypeCodeSequencenewCTDIPhantomTypeCodeSequence(int initialCapacity) Adds a new CTDI Phantom Type Code Sequence.default voidRemoves the CTDI Phantom Type Code Sequence (seeCTDIPhantomTypeCodeSequencewrap(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 CTDI Phantom Type Code Sequence (seeCTDIPhantomTypeCodeSequence)- Returns:
- A wrapper object implementing the
CTDIPhantomTypeCodeSequence.Holderinterface.
-
getCTDIPhantomTypeCodeSequence
- Returns:
- the CTDI Phantom Type Code Sequence (see
CTDIPhantomTypeCodeSequence)
-
newCTDIPhantomTypeCodeSequence
Adds a new CTDI Phantom Type Code Sequence. (seeCTDIPhantomTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new CTDI Phantom Type Code Sequence
-
ensureCTDIPhantomTypeCodeSequence
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
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
-