Interface ReferencedBasicAnnotationBoxSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
BasicFilmBoxRelationshipModule
- All Known Implementing Classes:
BasicFilmBoxIOD,ReferencedBasicAnnotationBoxSequence.SimpleHolder
- Enclosing class:
- ReferencedBasicAnnotationBoxSequence
public static interface ReferencedBasicAnnotationBoxSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Referenced Basic Annotation Box Sequence" (seeReferencedBasicAnnotationBoxSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classReferencedBasicAnnotationBoxSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static ReferencedBasicAnnotationBoxSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Referenced Basic Annotation Box Sequence (seeReferencedBasicAnnotationBoxSequence)- Returns:
- a wrapper object implementing the
ReferencedBasicAnnotationBoxSequence.Holderinterface.
-
builder
static ReferencedBasicAnnotationBoxSequence.Holder.Builder builder()
- Returns:
- a
ReferencedBasicAnnotationBoxSequence.Holder.Builderto create Referenced Basic Annotation Box Sequence Items with a fluent API.
-
builder
static ReferencedBasicAnnotationBoxSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theReferencedBasicAnnotationBoxSequence.Holder.Builder.- Returns:
- a
ReferencedBasicAnnotationBoxSequence.Holder.Builderto create Referenced Basic Annotation Box Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getReferencedBasicAnnotationBoxSequence
default ReferencedBasicAnnotationBoxSequence getReferencedBasicAnnotationBoxSequence()
- Returns:
- the Referenced Basic Annotation Box Sequence (see
ReferencedBasicAnnotationBoxSequence)
-
newReferencedBasicAnnotationBoxSequence
default ReferencedBasicAnnotationBoxSequence newReferencedBasicAnnotationBoxSequence(int initialCapacity)
Adds a new Referenced Basic Annotation Box Sequence. (seeReferencedBasicAnnotationBoxSequence)- Parameters:
initialCapacity- the initial capacity for the new Referenced Basic Annotation Box Sequence- Returns:
- the newly created ReferencedBasicAnnotationBoxSequence.
-
ensureReferencedBasicAnnotationBoxSequence
default ReferencedBasicAnnotationBoxSequence ensureReferencedBasicAnnotationBoxSequence(int initialCapacity)
Adds a new Referenced Basic Annotation Box Sequence (seeReferencedBasicAnnotationBoxSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Referenced Basic Annotation Box Sequence is created.- Returns:
- either the already existing Referenced Basic Annotation Box Sequence (see
ReferencedBasicAnnotationBoxSequence) or a new one with capacityinitialCapacity.
-
ensureReferencedBasicAnnotationBoxSequence
default ReferencedBasicAnnotationBoxSequence ensureReferencedBasicAnnotationBoxSequence()
Adds a new Referenced Basic Annotation Box Sequence (seeReferencedBasicAnnotationBoxSequence) with initial capacity 1 (seeensureReferencedBasicAnnotationBoxSequence(int)) if it does not already exist.- Returns:
- either the already existing Referenced Basic Annotation Box Sequence (see
ReferencedBasicAnnotationBoxSequence) or a new one with capacity 1.
-
containsReferencedBasicAnnotationBoxSequence
default boolean containsReferencedBasicAnnotationBoxSequence()
- Returns:
- whether it contains the Referenced Basic Annotation Box Sequence (see
ReferencedBasicAnnotationBoxSequence)
-
removeReferencedBasicAnnotationBoxSequence
default void removeReferencedBasicAnnotationBoxSequence()
Removes the Referenced Basic Annotation Box Sequence (seeReferencedBasicAnnotationBoxSequence
-
-