Interface StructuredDisplayImageBoxSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
StructuredDisplayImageBoxModule
- All Known Implementing Classes:
BasicStructuredDisplayIOD,StructuredDisplayImageBoxSequence.SimpleHolder
- Enclosing class:
- StructuredDisplayImageBoxSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Structured Display Image Box Sequence" (see
StructuredDisplayImageBoxSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Structured Display Image Box Sequence (seeStructuredDisplayImageBoxSequence) with initial capacity 1 (seeensureStructuredDisplayImageBoxSequence(int)) if it does not already exist.ensureStructuredDisplayImageBoxSequence(int initialCapacity) Adds a new Structured Display Image Box Sequence (seeStructuredDisplayImageBoxSequence) if it does not already exist.newStructuredDisplayImageBoxSequence(int initialCapacity) Adds a new Structured Display Image Box Sequence.default voidRemoves the Structured Display Image Box Sequence (seeStructuredDisplayImageBoxSequencewrap(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 Structured Display Image Box Sequence (seeStructuredDisplayImageBoxSequence)- Returns:
- A wrapper object implementing the
StructuredDisplayImageBoxSequence.Holderinterface.
-
builder
- Returns:
- a
StructuredDisplayImageBoxSequence.Holder.Builderto create Structured Display Image Box Sequence Items with a fluent API.
-
builder
static StructuredDisplayImageBoxSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theStructuredDisplayImageBoxSequence.Holder.Builder.- Returns:
- a
StructuredDisplayImageBoxSequence.Holder.Builderto create Structured Display Image Box Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getStructuredDisplayImageBoxSequence
- Returns:
- the Structured Display Image Box Sequence (see
StructuredDisplayImageBoxSequence)
-
newStructuredDisplayImageBoxSequence
Adds a new Structured Display Image Box Sequence. (seeStructuredDisplayImageBoxSequence)- Parameters:
initialCapacity- the initial capacity for the new Structured Display Image Box Sequence
-
ensureStructuredDisplayImageBoxSequence
default StructuredDisplayImageBoxSequence ensureStructuredDisplayImageBoxSequence(int initialCapacity) Adds a new Structured Display Image Box Sequence (seeStructuredDisplayImageBoxSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Structured Display Image Box Sequence is created.- Returns:
- Either the already existing Structured Display Image Box Sequence (see
StructuredDisplayImageBoxSequence) or a new one with capacityinitialCapacity.
-
ensureStructuredDisplayImageBoxSequence
Adds a new Structured Display Image Box Sequence (seeStructuredDisplayImageBoxSequence) with initial capacity 1 (seeensureStructuredDisplayImageBoxSequence(int)) if it does not already exist.- Returns:
- Either the already existing Structured Display Image Box Sequence (see
StructuredDisplayImageBoxSequence) or a new one with capacity 1.
-
containsStructuredDisplayImageBoxSequence
default boolean containsStructuredDisplayImageBoxSequence()- Returns:
- Whether it contains the Structured Display Image Box Sequence (see
StructuredDisplayImageBoxSequence)
-
removeStructuredDisplayImageBoxSequence
default void removeStructuredDisplayImageBoxSequence()Removes the Structured Display Image Box Sequence (seeStructuredDisplayImageBoxSequence
-