Interface SegmentedPropertyTypeModifierCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
RTROIIdentificationCodeSequence.Item,SegmentedPropertyTypeCodeSequence.Item
- Enclosing class:
- SegmentedPropertyTypeModifierCodeSequence
public static interface SegmentedPropertyTypeModifierCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Segmented Property Type Modifier Code Sequence" (seeSegmentedPropertyTypeModifierCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSegmentedPropertyTypeModifierCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static SegmentedPropertyTypeModifierCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Segmented Property Type Modifier Code Sequence (seeSegmentedPropertyTypeModifierCodeSequence)- Returns:
- a wrapper object implementing the
SegmentedPropertyTypeModifierCodeSequence.Holderinterface.
-
builder
static SegmentedPropertyTypeModifierCodeSequence.Holder.Builder builder()
- Returns:
- a
SegmentedPropertyTypeModifierCodeSequence.Holder.Builderto create Segmented Property Type Modifier Code Sequence Items with a fluent API.
-
builder
static SegmentedPropertyTypeModifierCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theSegmentedPropertyTypeModifierCodeSequence.Holder.Builder.- Returns:
- a
SegmentedPropertyTypeModifierCodeSequence.Holder.Builderto create Segmented Property Type Modifier Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSegmentedPropertyTypeModifierCodeSequence
default SegmentedPropertyTypeModifierCodeSequence getSegmentedPropertyTypeModifierCodeSequence()
- Returns:
- the Segmented Property Type Modifier Code Sequence (see
SegmentedPropertyTypeModifierCodeSequence)
-
newSegmentedPropertyTypeModifierCodeSequence
default SegmentedPropertyTypeModifierCodeSequence newSegmentedPropertyTypeModifierCodeSequence(int initialCapacity)
Adds a new Segmented Property Type Modifier Code Sequence. (seeSegmentedPropertyTypeModifierCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Segmented Property Type Modifier Code Sequence- Returns:
- the newly created SegmentedPropertyTypeModifierCodeSequence.
-
ensureSegmentedPropertyTypeModifierCodeSequence
default SegmentedPropertyTypeModifierCodeSequence ensureSegmentedPropertyTypeModifierCodeSequence(int initialCapacity)
Adds a new Segmented Property Type Modifier Code Sequence (seeSegmentedPropertyTypeModifierCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Segmented Property Type Modifier Code Sequence is created.- Returns:
- either the already existing Segmented Property Type Modifier Code Sequence (see
SegmentedPropertyTypeModifierCodeSequence) or a new one with capacityinitialCapacity.
-
ensureSegmentedPropertyTypeModifierCodeSequence
default SegmentedPropertyTypeModifierCodeSequence ensureSegmentedPropertyTypeModifierCodeSequence()
Adds a new Segmented Property Type Modifier Code Sequence (seeSegmentedPropertyTypeModifierCodeSequence) with initial capacity 1 (seeensureSegmentedPropertyTypeModifierCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Segmented Property Type Modifier Code Sequence (see
SegmentedPropertyTypeModifierCodeSequence) or a new one with capacity 1.
-
containsSegmentedPropertyTypeModifierCodeSequence
default boolean containsSegmentedPropertyTypeModifierCodeSequence()
- Returns:
- whether it contains the Segmented Property Type Modifier Code Sequence (see
SegmentedPropertyTypeModifierCodeSequence)
-
removeSegmentedPropertyTypeModifierCodeSequence
default void removeSegmentedPropertyTypeModifierCodeSequence()
Removes the Segmented Property Type Modifier Code Sequence (seeSegmentedPropertyTypeModifierCodeSequence
-
-