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