Interface ImageBoxSynchronizationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
StructuredDisplayImageBoxModule
- All Known Implementing Classes:
BasicStructuredDisplayIOD,ImageBoxSynchronizationSequence.SimpleHolder
- Enclosing class:
- ImageBoxSynchronizationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Image Box Synchronization Sequence" (see
ImageBoxSynchronizationSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault ImageBoxSynchronizationSequenceAdds a new Image Box Synchronization Sequence (seeImageBoxSynchronizationSequence) with initial capacity 1 (seeensureImageBoxSynchronizationSequence(int)) if it does not already exist.default ImageBoxSynchronizationSequenceensureImageBoxSynchronizationSequence(int initialCapacity) Adds a new Image Box Synchronization Sequence (seeImageBoxSynchronizationSequence) if it does not already exist.default ImageBoxSynchronizationSequencedefault ImageBoxSynchronizationSequencenewImageBoxSynchronizationSequence(int initialCapacity) Adds a new Image Box Synchronization Sequence.default voidRemoves the Image Box Synchronization Sequence (seeImageBoxSynchronizationSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Image Box Synchronization Sequence (seeImageBoxSynchronizationSequence)- Returns:
- A wrapper object implementing the
ImageBoxSynchronizationSequence.Holderinterface.
-
builder
- Returns:
- a
ImageBoxSynchronizationSequence.Holder.Builderto create Image Box Synchronization Sequence Items with a fluent API.
-
builder
static ImageBoxSynchronizationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theImageBoxSynchronizationSequence.Holder.Builder.- Returns:
- a
ImageBoxSynchronizationSequence.Holder.Builderto create Image Box Synchronization Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getImageBoxSynchronizationSequence
- Returns:
- the Image Box Synchronization Sequence (see
ImageBoxSynchronizationSequence)
-
newImageBoxSynchronizationSequence
Adds a new Image Box Synchronization Sequence. (seeImageBoxSynchronizationSequence)- Parameters:
initialCapacity- the initial capacity for the new Image Box Synchronization Sequence
-
ensureImageBoxSynchronizationSequence
Adds a new Image Box Synchronization Sequence (seeImageBoxSynchronizationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Image Box Synchronization Sequence is created.- Returns:
- Either the already existing Image Box Synchronization Sequence (see
ImageBoxSynchronizationSequence) or a new one with capacityinitialCapacity.
-
ensureImageBoxSynchronizationSequence
Adds a new Image Box Synchronization Sequence (seeImageBoxSynchronizationSequence) with initial capacity 1 (seeensureImageBoxSynchronizationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Image Box Synchronization Sequence (see
ImageBoxSynchronizationSequence) or a new one with capacity 1.
-
containsImageBoxSynchronizationSequence
default boolean containsImageBoxSynchronizationSequence()- Returns:
- Whether it contains the Image Box Synchronization Sequence (see
ImageBoxSynchronizationSequence)
-
removeImageBoxSynchronizationSequence
default void removeImageBoxSynchronizationSequence()Removes the Image Box Synchronization Sequence (seeImageBoxSynchronizationSequence
-