Interface SegmentAlgorithmType.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
SegmentAlgorithmType.SimpleHolder,SegmentSequence.Item
- Enclosing class:
- SegmentAlgorithmType
A class implementing this interface can hold attributes which contain the DICOM tag "Segment Algorithm Type" (see
SegmentAlgorithmType)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault SegmentAlgorithmTypedefault voidRemoves the Segment Algorithm Type (seeSegmentAlgorithmTypestatic SegmentAlgorithmType.Holderwrap(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 Segment Algorithm Type (seeSegmentAlgorithmType)- Returns:
- A wrapper object implementing the
SegmentAlgorithmType.Holderinterface.
-
builder
- Returns:
- a
SegmentAlgorithmType.Holder.Builderto create Segment Algorithm Type Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theSegmentAlgorithmType.Holder.Builder.- Returns:
- a
SegmentAlgorithmType.Holder.Builderto create Segment Algorithm Type Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSegmentAlgorithmType
- Returns:
- the Segment Algorithm Type (see
SegmentAlgorithmType)
-
containsSegmentAlgorithmType
default boolean containsSegmentAlgorithmType()- Returns:
- Whether it contains the Segment Algorithm Type (see
SegmentAlgorithmType)
-
removeSegmentAlgorithmType
default void removeSegmentAlgorithmType()Removes the Segment Algorithm Type (seeSegmentAlgorithmType
-