Interface CorrectedParameterSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
ControlPointDeliverySequence.Item,CorrectedParameterSequence.SimpleHolder,IonControlPointDeliverySequence.Item
- Enclosing class:
- CorrectedParameterSequence
public static interface CorrectedParameterSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Corrected Parameter Sequence" (seeCorrectedParameterSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCorrectedParameterSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static CorrectedParameterSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Corrected Parameter Sequence (seeCorrectedParameterSequence)- Returns:
- a wrapper object implementing the
CorrectedParameterSequence.Holderinterface.
-
builder
static CorrectedParameterSequence.Holder.Builder builder()
- Returns:
- a
CorrectedParameterSequence.Holder.Builderto create Corrected Parameter Sequence Items with a fluent API.
-
builder
static CorrectedParameterSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theCorrectedParameterSequence.Holder.Builder.- Returns:
- a
CorrectedParameterSequence.Holder.Builderto create Corrected Parameter Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getCorrectedParameterSequence
default CorrectedParameterSequence getCorrectedParameterSequence()
- Returns:
- the Corrected Parameter Sequence (see
CorrectedParameterSequence)
-
newCorrectedParameterSequence
default CorrectedParameterSequence newCorrectedParameterSequence(int initialCapacity)
Adds a new Corrected Parameter Sequence. (seeCorrectedParameterSequence)- Parameters:
initialCapacity- the initial capacity for the new Corrected Parameter Sequence- Returns:
- the newly created CorrectedParameterSequence.
-
ensureCorrectedParameterSequence
default CorrectedParameterSequence ensureCorrectedParameterSequence(int initialCapacity)
Adds a new Corrected Parameter Sequence (seeCorrectedParameterSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Corrected Parameter Sequence is created.- Returns:
- either the already existing Corrected Parameter Sequence (see
CorrectedParameterSequence) or a new one with capacityinitialCapacity.
-
ensureCorrectedParameterSequence
default CorrectedParameterSequence ensureCorrectedParameterSequence()
Adds a new Corrected Parameter Sequence (seeCorrectedParameterSequence) with initial capacity 1 (seeensureCorrectedParameterSequence(int)) if it does not already exist.- Returns:
- either the already existing Corrected Parameter Sequence (see
CorrectedParameterSequence) or a new one with capacity 1.
-
containsCorrectedParameterSequence
default boolean containsCorrectedParameterSequence()
- Returns:
- whether it contains the Corrected Parameter Sequence (see
CorrectedParameterSequence)
-
removeCorrectedParameterSequence
default void removeCorrectedParameterSequence()
Removes the Corrected Parameter Sequence (seeCorrectedParameterSequence
-
-