Interface ROINumber.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ROINumber.SimpleHolder,StructureSetROISequence.Item
- Enclosing class:
- ROINumber
A class implementing this interface can hold attributes which contain the DICOM tag "ROI Number" (see
ROINumber)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ROINumber.Holder.Builderbuilder()static ROINumber.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault ROINumberdefault voidRemoves the ROI Number (seeROINumberstatic ROINumber.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 ROI Number (seeROINumber)- Returns:
- A wrapper object implementing the
ROINumber.Holderinterface.
-
builder
- Returns:
- a
ROINumber.Holder.Builderto create ROI Number Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theROINumber.Holder.Builder.- Returns:
- a
ROINumber.Holder.Builderto create ROI Number Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getROINumber
- Returns:
- the ROI Number (see
ROINumber)
-
containsROINumber
default boolean containsROINumber()- Returns:
- Whether it contains the ROI Number (see
ROINumber)
-
removeROINumber
default void removeROINumber()Removes the ROI Number (seeROINumber
-