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