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