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