Interface SegmentLabel.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
SegmentLabel.SimpleHolder,SegmentSequence.Item
- Enclosing class:
- SegmentLabel
A class implementing this interface can hold attributes which contain the DICOM tag "Segment Label" (see
SegmentLabel)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SegmentLabel.Holder.Builderbuilder()static SegmentLabel.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault SegmentLabeldefault voidRemoves the Segment Label (seeSegmentLabelstatic SegmentLabel.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 Label (seeSegmentLabel)- Returns:
- A wrapper object implementing the
SegmentLabel.Holderinterface.
-
builder
- Returns:
- a
SegmentLabel.Holder.Builderto create Segment Label Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theSegmentLabel.Holder.Builder.- Returns:
- a
SegmentLabel.Holder.Builderto create Segment Label Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSegmentLabel
- Returns:
- the Segment Label (see
SegmentLabel)
-
containsSegmentLabel
default boolean containsSegmentLabel()- Returns:
- Whether it contains the Segment Label (see
SegmentLabel)
-
removeSegmentLabel
default void removeSegmentLabel()Removes the Segment Label (seeSegmentLabel
-