Interface SegmentIdentificationSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
SegmentIdentificationSequence.SimpleHolder
- Enclosing class:
- SegmentIdentificationSequence
public static interface SegmentIdentificationSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Segment Identification Sequence" (seeSegmentIdentificationSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSegmentIdentificationSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static SegmentIdentificationSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Segment Identification Sequence (seeSegmentIdentificationSequence)- Returns:
- a wrapper object implementing the
SegmentIdentificationSequence.Holderinterface.
-
builder
static SegmentIdentificationSequence.Holder.Builder builder()
- Returns:
- a
SegmentIdentificationSequence.Holder.Builderto create Segment Identification Sequence Items with a fluent API.
-
builder
static SegmentIdentificationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theSegmentIdentificationSequence.Holder.Builder.- Returns:
- a
SegmentIdentificationSequence.Holder.Builderto create Segment Identification Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSegmentIdentificationSequence
default SegmentIdentificationSequence getSegmentIdentificationSequence()
- Returns:
- the Segment Identification Sequence (see
SegmentIdentificationSequence)
-
newSegmentIdentificationSequence
default SegmentIdentificationSequence newSegmentIdentificationSequence(int initialCapacity)
Adds a new Segment Identification Sequence. (seeSegmentIdentificationSequence)- Parameters:
initialCapacity- the initial capacity for the new Segment Identification Sequence- Returns:
- the newly created SegmentIdentificationSequence.
-
ensureSegmentIdentificationSequence
default SegmentIdentificationSequence ensureSegmentIdentificationSequence(int initialCapacity)
Adds a new Segment Identification Sequence (seeSegmentIdentificationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Segment Identification Sequence is created.- Returns:
- either the already existing Segment Identification Sequence (see
SegmentIdentificationSequence) or a new one with capacityinitialCapacity.
-
ensureSegmentIdentificationSequence
default SegmentIdentificationSequence ensureSegmentIdentificationSequence()
Adds a new Segment Identification Sequence (seeSegmentIdentificationSequence) with initial capacity 1 (seeensureSegmentIdentificationSequence(int)) if it does not already exist.- Returns:
- either the already existing Segment Identification Sequence (see
SegmentIdentificationSequence) or a new one with capacity 1.
-
containsSegmentIdentificationSequence
default boolean containsSegmentIdentificationSequence()
- Returns:
- whether it contains the Segment Identification Sequence (see
SegmentIdentificationSequence)
-
removeSegmentIdentificationSequence
default void removeSegmentIdentificationSequence()
Removes the Segment Identification Sequence (seeSegmentIdentificationSequence
-
-