Interface ReconstructionStartLocationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ReconstructionProtocolElementSequence.Item,ReconstructionStartLocationSequence.SimpleHolder
- Enclosing class:
- ReconstructionStartLocationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Reconstruction Start Location Sequence" (see
ReconstructionStartLocationSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Reconstruction Start Location Sequence (seeReconstructionStartLocationSequence) with initial capacity 1 (seeensureReconstructionStartLocationSequence(int)) if it does not already exist.ensureReconstructionStartLocationSequence(int initialCapacity) Adds a new Reconstruction Start Location Sequence (seeReconstructionStartLocationSequence) if it does not already exist.newReconstructionStartLocationSequence(int initialCapacity) Adds a new Reconstruction Start Location Sequence.default voidRemoves the Reconstruction Start Location Sequence (seeReconstructionStartLocationSequencewrap(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 Reconstruction Start Location Sequence (seeReconstructionStartLocationSequence)- Returns:
- A wrapper object implementing the
ReconstructionStartLocationSequence.Holderinterface.
-
builder
- Returns:
- a
ReconstructionStartLocationSequence.Holder.Builderto create Reconstruction Start Location Sequence Items with a fluent API.
-
builder
static ReconstructionStartLocationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theReconstructionStartLocationSequence.Holder.Builder.- Returns:
- a
ReconstructionStartLocationSequence.Holder.Builderto create Reconstruction Start Location Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getReconstructionStartLocationSequence
- Returns:
- the Reconstruction Start Location Sequence (see
ReconstructionStartLocationSequence)
-
newReconstructionStartLocationSequence
default ReconstructionStartLocationSequence newReconstructionStartLocationSequence(int initialCapacity) Adds a new Reconstruction Start Location Sequence. (seeReconstructionStartLocationSequence)- Parameters:
initialCapacity- the initial capacity for the new Reconstruction Start Location Sequence
-
ensureReconstructionStartLocationSequence
default ReconstructionStartLocationSequence ensureReconstructionStartLocationSequence(int initialCapacity) Adds a new Reconstruction Start Location Sequence (seeReconstructionStartLocationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Reconstruction Start Location Sequence is created.- Returns:
- Either the already existing Reconstruction Start Location Sequence (see
ReconstructionStartLocationSequence) or a new one with capacityinitialCapacity.
-
ensureReconstructionStartLocationSequence
Adds a new Reconstruction Start Location Sequence (seeReconstructionStartLocationSequence) with initial capacity 1 (seeensureReconstructionStartLocationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Reconstruction Start Location Sequence (see
ReconstructionStartLocationSequence) or a new one with capacity 1.
-
containsReconstructionStartLocationSequence
default boolean containsReconstructionStartLocationSequence()- Returns:
- Whether it contains the Reconstruction Start Location Sequence (see
ReconstructionStartLocationSequence)
-
removeReconstructionStartLocationSequence
default void removeReconstructionStartLocationSequence()Removes the Reconstruction Start Location Sequence (seeReconstructionStartLocationSequence
-