Interface ROIElementalCompositionSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
ROIPhysicalPropertiesSequence.Item
- Enclosing class:
- ROIElementalCompositionSequence
public static interface ROIElementalCompositionSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "ROI Elemental Composition Sequence" (seeROIElementalCompositionSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classROIElementalCompositionSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static ROIElementalCompositionSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the ROI Elemental Composition Sequence (seeROIElementalCompositionSequence)- Returns:
- a wrapper object implementing the
ROIElementalCompositionSequence.Holderinterface.
-
builder
static ROIElementalCompositionSequence.Holder.Builder builder()
- Returns:
- a
ROIElementalCompositionSequence.Holder.Builderto create ROI Elemental Composition Sequence Items with a fluent API.
-
builder
static ROIElementalCompositionSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theROIElementalCompositionSequence.Holder.Builder.- Returns:
- a
ROIElementalCompositionSequence.Holder.Builderto create ROI Elemental Composition Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getROIElementalCompositionSequence
default ROIElementalCompositionSequence getROIElementalCompositionSequence()
- Returns:
- the ROI Elemental Composition Sequence (see
ROIElementalCompositionSequence)
-
newROIElementalCompositionSequence
default ROIElementalCompositionSequence newROIElementalCompositionSequence(int initialCapacity)
Adds a new ROI Elemental Composition Sequence. (seeROIElementalCompositionSequence)- Parameters:
initialCapacity- the initial capacity for the new ROI Elemental Composition Sequence- Returns:
- the newly created ROIElementalCompositionSequence.
-
ensureROIElementalCompositionSequence
default ROIElementalCompositionSequence ensureROIElementalCompositionSequence(int initialCapacity)
Adds a new ROI Elemental Composition Sequence (seeROIElementalCompositionSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new ROI Elemental Composition Sequence is created.- Returns:
- either the already existing ROI Elemental Composition Sequence (see
ROIElementalCompositionSequence) or a new one with capacityinitialCapacity.
-
ensureROIElementalCompositionSequence
default ROIElementalCompositionSequence ensureROIElementalCompositionSequence()
Adds a new ROI Elemental Composition Sequence (seeROIElementalCompositionSequence) with initial capacity 1 (seeensureROIElementalCompositionSequence(int)) if it does not already exist.- Returns:
- either the already existing ROI Elemental Composition Sequence (see
ROIElementalCompositionSequence) or a new one with capacity 1.
-
containsROIElementalCompositionSequence
default boolean containsROIElementalCompositionSequence()
- Returns:
- whether it contains the ROI Elemental Composition Sequence (see
ROIElementalCompositionSequence)
-
removeROIElementalCompositionSequence
default void removeROIElementalCompositionSequence()
Removes the ROI Elemental Composition Sequence (seeROIElementalCompositionSequence
-
-