Interface MREchoSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- Enclosing class:
- MREchoSequence
public static interface MREchoSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "MR Echo Sequence" (seeMREchoSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMREchoSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static MREchoSequence.Holder.Builderbuilder()static MREchoSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsMREchoSequence()default MREchoSequenceensureMREchoSequence()Adds a new MR Echo Sequence (seeMREchoSequence) with initial capacity 1 (seeensureMREchoSequence(int)) if it does not already exist.default MREchoSequenceensureMREchoSequence(int initialCapacity)Adds a new MR Echo Sequence (seeMREchoSequence) if it does not already exist.default MREchoSequencegetMREchoSequence()default MREchoSequencenewMREchoSequence(int initialCapacity)Adds a new MR Echo Sequence.default voidremoveMREchoSequence()Removes the MR Echo Sequence (seeMREchoSequencestatic MREchoSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static MREchoSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the MR Echo Sequence (seeMREchoSequence)- Returns:
- a wrapper object implementing the
MREchoSequence.Holderinterface.
-
builder
static MREchoSequence.Holder.Builder builder()
- Returns:
- a
MREchoSequence.Holder.Builderto create MR Echo Sequence Items with a fluent API.
-
builder
static MREchoSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theMREchoSequence.Holder.Builder.- Returns:
- a
MREchoSequence.Holder.Builderto create MR Echo Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getMREchoSequence
default MREchoSequence getMREchoSequence()
- Returns:
- the MR Echo Sequence (see
MREchoSequence)
-
newMREchoSequence
default MREchoSequence newMREchoSequence(int initialCapacity)
Adds a new MR Echo Sequence. (seeMREchoSequence)- Parameters:
initialCapacity- the initial capacity for the new MR Echo Sequence- Returns:
- the newly created MREchoSequence.
-
ensureMREchoSequence
default MREchoSequence ensureMREchoSequence(int initialCapacity)
Adds a new MR Echo Sequence (seeMREchoSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new MR Echo Sequence is created.- Returns:
- either the already existing MR Echo Sequence (see
MREchoSequence) or a new one with capacityinitialCapacity.
-
ensureMREchoSequence
default MREchoSequence ensureMREchoSequence()
Adds a new MR Echo Sequence (seeMREchoSequence) with initial capacity 1 (seeensureMREchoSequence(int)) if it does not already exist.- Returns:
- either the already existing MR Echo Sequence (see
MREchoSequence) or a new one with capacity 1.
-
containsMREchoSequence
default boolean containsMREchoSequence()
- Returns:
- whether it contains the MR Echo Sequence (see
MREchoSequence)
-
removeMREchoSequence
default void removeMREchoSequence()
Removes the MR Echo Sequence (seeMREchoSequence
-
-