Interface GatedInformationSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
NMMultiGatedAcquisitionModule
- All Known Implementing Classes:
NMImageIOD,NMMultiGatedAcquisitionModule.SimpleWrapper
- Enclosing class:
- GatedInformationSequence
public static interface GatedInformationSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Gated Information Sequence" (seeGatedInformationSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classGatedInformationSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static GatedInformationSequence.Holder.Builderbuilder()static GatedInformationSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsGatedInformationSequence()default GatedInformationSequenceensureGatedInformationSequence()Adds a new Gated Information Sequence (seeGatedInformationSequence) with initial capacity 1 (seeensureGatedInformationSequence(int)) if it does not already exist.default GatedInformationSequenceensureGatedInformationSequence(int initialCapacity)Adds a new Gated Information Sequence (seeGatedInformationSequence) if it does not already exist.default GatedInformationSequencegetGatedInformationSequence()default GatedInformationSequencenewGatedInformationSequence(int initialCapacity)Adds a new Gated Information Sequence.default voidremoveGatedInformationSequence()Removes the Gated Information Sequence (seeGatedInformationSequencestatic GatedInformationSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static GatedInformationSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Gated Information Sequence (seeGatedInformationSequence)- Returns:
- a wrapper object implementing the
GatedInformationSequence.Holderinterface.
-
builder
static GatedInformationSequence.Holder.Builder builder()
- Returns:
- a
GatedInformationSequence.Holder.Builderto create Gated Information Sequence Items with a fluent API.
-
builder
static GatedInformationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theGatedInformationSequence.Holder.Builder.- Returns:
- a
GatedInformationSequence.Holder.Builderto create Gated Information Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getGatedInformationSequence
default GatedInformationSequence getGatedInformationSequence()
- Returns:
- the Gated Information Sequence (see
GatedInformationSequence)
-
newGatedInformationSequence
default GatedInformationSequence newGatedInformationSequence(int initialCapacity)
Adds a new Gated Information Sequence. (seeGatedInformationSequence)- Parameters:
initialCapacity- the initial capacity for the new Gated Information Sequence- Returns:
- the newly created GatedInformationSequence.
-
ensureGatedInformationSequence
default GatedInformationSequence ensureGatedInformationSequence(int initialCapacity)
Adds a new Gated Information Sequence (seeGatedInformationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Gated Information Sequence is created.- Returns:
- either the already existing Gated Information Sequence (see
GatedInformationSequence) or a new one with capacityinitialCapacity.
-
ensureGatedInformationSequence
default GatedInformationSequence ensureGatedInformationSequence()
Adds a new Gated Information Sequence (seeGatedInformationSequence) with initial capacity 1 (seeensureGatedInformationSequence(int)) if it does not already exist.- Returns:
- either the already existing Gated Information Sequence (see
GatedInformationSequence) or a new one with capacity 1.
-
containsGatedInformationSequence
default boolean containsGatedInformationSequence()
- Returns:
- whether it contains the Gated Information Sequence (see
GatedInformationSequence)
-
removeGatedInformationSequence
default void removeGatedInformationSequence()
Removes the Gated Information Sequence (seeGatedInformationSequence
-
-