Interface MREchoSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
MREchoSequence.SimpleHolder
- Enclosing class:
- MREchoSequence
A class implementing this interface can hold attributes which contain the DICOM tag "MR Echo Sequence" (see
MREchoSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault MREchoSequenceAdds 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 MREchoSequencedefault MREchoSequencenewMREchoSequence(int initialCapacity) Adds a new MR Echo Sequence.default voidRemoves the MR Echo Sequence (seeMREchoSequencestatic MREchoSequence.Holderwrap(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 MR Echo Sequence (seeMREchoSequence)- Returns:
- A wrapper object implementing the
MREchoSequence.Holderinterface.
-
builder
- Returns:
- a
MREchoSequence.Holder.Builderto create MR Echo Sequence Items with a fluent API.
-
builder
- 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
- Returns:
- the MR Echo Sequence (see
MREchoSequence)
-
newMREchoSequence
Adds a new MR Echo Sequence. (seeMREchoSequence)- Parameters:
initialCapacity- the initial capacity for the new MR Echo Sequence
-
ensureMREchoSequence
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
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
-