Interface ContourImageSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
ContourImageSequence.SimpleHolder,ContourSequence.Item,RTReferencedSeriesSequence.Item
- Enclosing class:
- ContourImageSequence
public static interface ContourImageSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Contour Image Sequence" (seeContourImageSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classContourImageSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ContourImageSequence.Holder.Builderbuilder()static ContourImageSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsContourImageSequence()default ContourImageSequenceensureContourImageSequence()Adds a new Contour Image Sequence (seeContourImageSequence) with initial capacity 1 (seeensureContourImageSequence(int)) if it does not already exist.default ContourImageSequenceensureContourImageSequence(int initialCapacity)Adds a new Contour Image Sequence (seeContourImageSequence) if it does not already exist.default ContourImageSequencegetContourImageSequence()default ContourImageSequencenewContourImageSequence(int initialCapacity)Adds a new Contour Image Sequence.default voidremoveContourImageSequence()Removes the Contour Image Sequence (seeContourImageSequencestatic ContourImageSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ContourImageSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Contour Image Sequence (seeContourImageSequence)- Returns:
- a wrapper object implementing the
ContourImageSequence.Holderinterface.
-
builder
static ContourImageSequence.Holder.Builder builder()
- Returns:
- a
ContourImageSequence.Holder.Builderto create Contour Image Sequence Items with a fluent API.
-
builder
static ContourImageSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theContourImageSequence.Holder.Builder.- Returns:
- a
ContourImageSequence.Holder.Builderto create Contour Image Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getContourImageSequence
default ContourImageSequence getContourImageSequence()
- Returns:
- the Contour Image Sequence (see
ContourImageSequence)
-
newContourImageSequence
default ContourImageSequence newContourImageSequence(int initialCapacity)
Adds a new Contour Image Sequence. (seeContourImageSequence)- Parameters:
initialCapacity- the initial capacity for the new Contour Image Sequence- Returns:
- the newly created ContourImageSequence.
-
ensureContourImageSequence
default ContourImageSequence ensureContourImageSequence(int initialCapacity)
Adds a new Contour Image Sequence (seeContourImageSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Contour Image Sequence is created.- Returns:
- either the already existing Contour Image Sequence (see
ContourImageSequence) or a new one with capacityinitialCapacity.
-
ensureContourImageSequence
default ContourImageSequence ensureContourImageSequence()
Adds a new Contour Image Sequence (seeContourImageSequence) with initial capacity 1 (seeensureContourImageSequence(int)) if it does not already exist.- Returns:
- either the already existing Contour Image Sequence (see
ContourImageSequence) or a new one with capacity 1.
-
containsContourImageSequence
default boolean containsContourImageSequence()
- Returns:
- whether it contains the Contour Image Sequence (see
ContourImageSequence)
-
removeContourImageSequence
default void removeContourImageSequence()
Removes the Contour Image Sequence (seeContourImageSequence
-
-