Interface GatedInformationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
NMMultiGatedAcquisitionModule
- All Known Implementing Classes:
GatedInformationSequence.SimpleHolder,NMImageIOD
- Enclosing class:
- GatedInformationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Gated Information Sequence" (see
GatedInformationSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault GatedInformationSequenceAdds 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 GatedInformationSequencedefault GatedInformationSequencenewGatedInformationSequence(int initialCapacity) Adds a new Gated Information Sequence.default voidRemoves the Gated Information Sequence (seeGatedInformationSequencewrap(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 Gated Information Sequence (seeGatedInformationSequence)- Returns:
- A wrapper object implementing the
GatedInformationSequence.Holderinterface.
-
builder
- Returns:
- a
GatedInformationSequence.Holder.Builderto create Gated Information Sequence Items with a fluent API.
-
builder
- 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
- Returns:
- the Gated Information Sequence (see
GatedInformationSequence)
-
newGatedInformationSequence
Adds a new Gated Information Sequence. (seeGatedInformationSequence)- Parameters:
initialCapacity- the initial capacity for the new Gated Information Sequence
-
ensureGatedInformationSequence
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
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
-