Interface SegmentedPropertyCategoryCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
CombinationSegmentReferenceSequence.Item,RTROIObservationsSequence.Item,SegmentedPropertyCategoryCodeSequence.SimpleHolder,SegmentSequence.Item,SurfacePointsSequence.Item,SurfaceSequence.Item
- Enclosing class:
- SegmentedPropertyCategoryCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Segmented Property Category Code Sequence" (see
SegmentedPropertyCategoryCodeSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Segmented Property Category Code Sequence (seeSegmentedPropertyCategoryCodeSequence) with initial capacity 1 (seeensureSegmentedPropertyCategoryCodeSequence(int)) if it does not already exist.ensureSegmentedPropertyCategoryCodeSequence(int initialCapacity) Adds a new Segmented Property Category Code Sequence (seeSegmentedPropertyCategoryCodeSequence) if it does not already exist.newSegmentedPropertyCategoryCodeSequence(int initialCapacity) Adds a new Segmented Property Category Code Sequence.default voidRemoves the Segmented Property Category Code Sequence (seeSegmentedPropertyCategoryCodeSequencewrap(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 Category Code Sequence (seeSegmentedPropertyCategoryCodeSequence)- Returns:
- A wrapper object implementing the
SegmentedPropertyCategoryCodeSequence.Holderinterface.
-
builder
- Returns:
- a
SegmentedPropertyCategoryCodeSequence.Holder.Builderto create Segmented Property Category Code Sequence Items with a fluent API.
-
builder
static SegmentedPropertyCategoryCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theSegmentedPropertyCategoryCodeSequence.Holder.Builder.- Returns:
- a
SegmentedPropertyCategoryCodeSequence.Holder.Builderto create Segmented Property Category Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSegmentedPropertyCategoryCodeSequence
- Returns:
- the Segmented Property Category Code Sequence (see
SegmentedPropertyCategoryCodeSequence)
-
newSegmentedPropertyCategoryCodeSequence
default SegmentedPropertyCategoryCodeSequence newSegmentedPropertyCategoryCodeSequence(int initialCapacity) Adds a new Segmented Property Category Code Sequence. (seeSegmentedPropertyCategoryCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Segmented Property Category Code Sequence
-
ensureSegmentedPropertyCategoryCodeSequence
default SegmentedPropertyCategoryCodeSequence ensureSegmentedPropertyCategoryCodeSequence(int initialCapacity) Adds a new Segmented Property Category Code Sequence (seeSegmentedPropertyCategoryCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Segmented Property Category Code Sequence is created.- Returns:
- Either the already existing Segmented Property Category Code Sequence (see
SegmentedPropertyCategoryCodeSequence) or a new one with capacityinitialCapacity.
-
ensureSegmentedPropertyCategoryCodeSequence
Adds a new Segmented Property Category Code Sequence (seeSegmentedPropertyCategoryCodeSequence) with initial capacity 1 (seeensureSegmentedPropertyCategoryCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Segmented Property Category Code Sequence (see
SegmentedPropertyCategoryCodeSequence) or a new one with capacity 1.
-
containsSegmentedPropertyCategoryCodeSequence
default boolean containsSegmentedPropertyCategoryCodeSequence()- Returns:
- Whether it contains the Segmented Property Category Code Sequence (see
SegmentedPropertyCategoryCodeSequence)
-
removeSegmentedPropertyCategoryCodeSequence
default void removeSegmentedPropertyCategoryCodeSequence()Removes the Segmented Property Category Code Sequence (seeSegmentedPropertyCategoryCodeSequence
-