Interface ReconstructionTargetCenterLocationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ReconstructionProtocolElementSequence.Item,ReconstructionTargetCenterLocationSequence.SimpleHolder
- Enclosing class:
- ReconstructionTargetCenterLocationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Reconstruction Target Center Location Sequence" (see
ReconstructionTargetCenterLocationSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Reconstruction Target Center Location Sequence (seeReconstructionTargetCenterLocationSequence) with initial capacity 1 (seeensureReconstructionTargetCenterLocationSequence(int)) if it does not already exist.ensureReconstructionTargetCenterLocationSequence(int initialCapacity) Adds a new Reconstruction Target Center Location Sequence (seeReconstructionTargetCenterLocationSequence) if it does not already exist.newReconstructionTargetCenterLocationSequence(int initialCapacity) Adds a new Reconstruction Target Center Location Sequence.default voidRemoves the Reconstruction Target Center Location Sequence (seeReconstructionTargetCenterLocationSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
static ReconstructionTargetCenterLocationSequence.Holder wrap(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- An attributes object containing the Reconstruction Target Center Location Sequence (seeReconstructionTargetCenterLocationSequence)- Returns:
- A wrapper object implementing the
ReconstructionTargetCenterLocationSequence.Holderinterface.
-
builder
- Returns:
- a
ReconstructionTargetCenterLocationSequence.Holder.Builderto create Reconstruction Target Center Location Sequence Items with a fluent API.
-
builder
static ReconstructionTargetCenterLocationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theReconstructionTargetCenterLocationSequence.Holder.Builder.- Returns:
- a
ReconstructionTargetCenterLocationSequence.Holder.Builderto create Reconstruction Target Center Location Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getReconstructionTargetCenterLocationSequence
- Returns:
- the Reconstruction Target Center Location Sequence (see
ReconstructionTargetCenterLocationSequence)
-
newReconstructionTargetCenterLocationSequence
default ReconstructionTargetCenterLocationSequence newReconstructionTargetCenterLocationSequence(int initialCapacity) Adds a new Reconstruction Target Center Location Sequence. (seeReconstructionTargetCenterLocationSequence)- Parameters:
initialCapacity- the initial capacity for the new Reconstruction Target Center Location Sequence
-
ensureReconstructionTargetCenterLocationSequence
default ReconstructionTargetCenterLocationSequence ensureReconstructionTargetCenterLocationSequence(int initialCapacity) Adds a new Reconstruction Target Center Location Sequence (seeReconstructionTargetCenterLocationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Reconstruction Target Center Location Sequence is created.- Returns:
- Either the already existing Reconstruction Target Center Location Sequence (see
ReconstructionTargetCenterLocationSequence) or a new one with capacityinitialCapacity.
-
ensureReconstructionTargetCenterLocationSequence
default ReconstructionTargetCenterLocationSequence ensureReconstructionTargetCenterLocationSequence()Adds a new Reconstruction Target Center Location Sequence (seeReconstructionTargetCenterLocationSequence) with initial capacity 1 (seeensureReconstructionTargetCenterLocationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Reconstruction Target Center Location Sequence (see
ReconstructionTargetCenterLocationSequence) or a new one with capacity 1.
-
containsReconstructionTargetCenterLocationSequence
default boolean containsReconstructionTargetCenterLocationSequence()- Returns:
- Whether it contains the Reconstruction Target Center Location Sequence (see
ReconstructionTargetCenterLocationSequence)
-
removeReconstructionTargetCenterLocationSequence
default void removeReconstructionTargetCenterLocationSequence()Removes the Reconstruction Target Center Location Sequence (seeReconstructionTargetCenterLocationSequence
-