Interface SegmentedPropertyTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
CombinationSegmentReferenceSequence.Item,ReferencedSurfaceMeshIdentificationSequence.Item,SegmentedPropertyTypeCodeSequence.SimpleHolder,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)-
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 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.
-
builder
- Returns:
- a
SegmentedPropertyTypeCodeSequence.Holder.Builderto create Segmented Property Type Code Sequence Items with a fluent API.
-
builder
static SegmentedPropertyTypeCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theSegmentedPropertyTypeCodeSequence.Holder.Builder.- Returns:
- a
SegmentedPropertyTypeCodeSequence.Holder.Builderto create Segmented Property Type Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
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
-