Interface ImageBoxesSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
DisplaySetsSequence.Item,ImageBoxesSequence.SimpleHolder
- Enclosing class:
- ImageBoxesSequence
public static interface ImageBoxesSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Image Boxes Sequence" (seeImageBoxesSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classImageBoxesSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ImageBoxesSequence.Holder.Builderbuilder()static ImageBoxesSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsImageBoxesSequence()default ImageBoxesSequenceensureImageBoxesSequence()Adds a new Image Boxes Sequence (seeImageBoxesSequence) with initial capacity 1 (seeensureImageBoxesSequence(int)) if it does not already exist.default ImageBoxesSequenceensureImageBoxesSequence(int initialCapacity)Adds a new Image Boxes Sequence (seeImageBoxesSequence) if it does not already exist.default ImageBoxesSequencegetImageBoxesSequence()default ImageBoxesSequencenewImageBoxesSequence(int initialCapacity)Adds a new Image Boxes Sequence.default voidremoveImageBoxesSequence()Removes the Image Boxes Sequence (seeImageBoxesSequencestatic ImageBoxesSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ImageBoxesSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Image Boxes Sequence (seeImageBoxesSequence)- Returns:
- a wrapper object implementing the
ImageBoxesSequence.Holderinterface.
-
builder
static ImageBoxesSequence.Holder.Builder builder()
- Returns:
- a
ImageBoxesSequence.Holder.Builderto create Image Boxes Sequence Items with a fluent API.
-
builder
static ImageBoxesSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theImageBoxesSequence.Holder.Builder.- Returns:
- a
ImageBoxesSequence.Holder.Builderto create Image Boxes Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getImageBoxesSequence
default ImageBoxesSequence getImageBoxesSequence()
- Returns:
- the Image Boxes Sequence (see
ImageBoxesSequence)
-
newImageBoxesSequence
default ImageBoxesSequence newImageBoxesSequence(int initialCapacity)
Adds a new Image Boxes Sequence. (seeImageBoxesSequence)- Parameters:
initialCapacity- the initial capacity for the new Image Boxes Sequence- Returns:
- the newly created ImageBoxesSequence.
-
ensureImageBoxesSequence
default ImageBoxesSequence ensureImageBoxesSequence(int initialCapacity)
Adds a new Image Boxes Sequence (seeImageBoxesSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Image Boxes Sequence is created.- Returns:
- either the already existing Image Boxes Sequence (see
ImageBoxesSequence) or a new one with capacityinitialCapacity.
-
ensureImageBoxesSequence
default ImageBoxesSequence ensureImageBoxesSequence()
Adds a new Image Boxes Sequence (seeImageBoxesSequence) with initial capacity 1 (seeensureImageBoxesSequence(int)) if it does not already exist.- Returns:
- either the already existing Image Boxes Sequence (see
ImageBoxesSequence) or a new one with capacity 1.
-
containsImageBoxesSequence
default boolean containsImageBoxesSequence()
- Returns:
- whether it contains the Image Boxes Sequence (see
ImageBoxesSequence)
-
removeImageBoxesSequence
default void removeImageBoxesSequence()
Removes the Image Boxes Sequence (seeImageBoxesSequence
-
-