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