Interface SegmentedPropertyTypeCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
CombinationSegmentReferenceSequence.Item,ReferencedSurfaceMeshIdentificationSequence.Item,SegmentSequence.Item,SurfacePointsSequence.Item,SurfaceSequence.Item
- Enclosing class:
- SegmentedPropertyTypeCodeSequence
public static interface SegmentedPropertyTypeCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Segmented Property Type Code Sequence" (seeSegmentedPropertyTypeCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSegmentedPropertyTypeCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static SegmentedPropertyTypeCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Segmented Property Type Code Sequence (seeSegmentedPropertyTypeCodeSequence)- Returns:
- a wrapper object implementing the
SegmentedPropertyTypeCodeSequence.Holderinterface.
-
builder
static SegmentedPropertyTypeCodeSequence.Holder.Builder 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
default SegmentedPropertyTypeCodeSequence getSegmentedPropertyTypeCodeSequence()
- Returns:
- the Segmented Property Type Code Sequence (see
SegmentedPropertyTypeCodeSequence)
-
newSegmentedPropertyTypeCodeSequence
default SegmentedPropertyTypeCodeSequence newSegmentedPropertyTypeCodeSequence(int initialCapacity)
Adds a new Segmented Property Type Code Sequence. (seeSegmentedPropertyTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Segmented Property Type Code Sequence- Returns:
- the newly created SegmentedPropertyTypeCodeSequence.
-
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
default SegmentedPropertyTypeCodeSequence 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
-
-