Interface SegmentedPropertyTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
CombinationSegmentReferenceSequence.Item,ReferencedSurfaceMeshIdentificationSequence.Item,SegmentSequence.Item,SurfacePointsSequence.Item,SurfaceSequence.Item
- Enclosing class:
- SegmentedPropertyTypeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Segmented Property Type Code Sequence" (see
SegmentedPropertyTypeCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanAdds a new Segmented Property Type Code Sequence (seeSegmentedPropertyTypeCodeSequence) with initial capacity 1 (seeensureSegmentedPropertyTypeCodeSequence(int)) if it does not already exist.ensureSegmentedPropertyTypeCodeSequence(int initialCapacity) Adds a new Segmented Property Type Code Sequence (seeSegmentedPropertyTypeCodeSequence) if it does not already exist.newSegmentedPropertyTypeCodeSequence(int initialCapacity) Adds a new Segmented Property Type Code Sequence.default voidRemoves the Segmented Property Type Code Sequence (seeSegmentedPropertyTypeCodeSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Segmented Property Type Code Sequence (seeSegmentedPropertyTypeCodeSequence)- Returns:
- A wrapper object implementing the
SegmentedPropertyTypeCodeSequence.Holderinterface.
-
getSegmentedPropertyTypeCodeSequence
- Returns:
- the Segmented Property Type Code Sequence (see
SegmentedPropertyTypeCodeSequence)
-
newSegmentedPropertyTypeCodeSequence
Adds a new Segmented Property Type Code Sequence. (seeSegmentedPropertyTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Segmented Property Type Code Sequence
-
ensureSegmentedPropertyTypeCodeSequence
default SegmentedPropertyTypeCodeSequence ensureSegmentedPropertyTypeCodeSequence(int initialCapacity) Adds a new Segmented Property Type Code Sequence (seeSegmentedPropertyTypeCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Segmented Property Type Code Sequence is created.- Returns:
- Either the already existing Segmented Property Type Code Sequence (see
SegmentedPropertyTypeCodeSequence) or a new one with capacityinitialCapacity.
-
ensureSegmentedPropertyTypeCodeSequence
Adds a new Segmented Property Type Code Sequence (seeSegmentedPropertyTypeCodeSequence) with initial capacity 1 (seeensureSegmentedPropertyTypeCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Segmented Property Type Code Sequence (see
SegmentedPropertyTypeCodeSequence) or a new one with capacity 1.
-
containsSegmentedPropertyTypeCodeSequence
default boolean containsSegmentedPropertyTypeCodeSequence()- Returns:
- Whether it contains the Segmented Property Type Code Sequence (see
SegmentedPropertyTypeCodeSequence)
-
removeSegmentedPropertyTypeCodeSequence
default void removeSegmentedPropertyTypeCodeSequence()Removes the Segmented Property Type Code Sequence (seeSegmentedPropertyTypeCodeSequence
-