Interface SegmentedPropertyTypeModifierCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
RTROIIdentificationCodeSequence.Item,SegmentedPropertyTypeCodeSequence.Item
- Enclosing class:
- SegmentedPropertyTypeModifierCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Segmented Property Type Modifier Code Sequence" (see
SegmentedPropertyTypeModifierCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanAdds a new Segmented Property Type Modifier Code Sequence (seeSegmentedPropertyTypeModifierCodeSequence) with initial capacity 1 (seeensureSegmentedPropertyTypeModifierCodeSequence(int)) if it does not already exist.ensureSegmentedPropertyTypeModifierCodeSequence(int initialCapacity) Adds a new Segmented Property Type Modifier Code Sequence (seeSegmentedPropertyTypeModifierCodeSequence) if it does not already exist.newSegmentedPropertyTypeModifierCodeSequence(int initialCapacity) Adds a new Segmented Property Type Modifier Code Sequence.default voidRemoves the Segmented Property Type Modifier Code Sequence (seeSegmentedPropertyTypeModifierCodeSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
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.
-
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
-
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
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
-