Interface TextComments.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
TextComments.SimpleHolder
- Enclosing class:
- TextComments
public static interface TextComments.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Text Comments" (seeTextComments)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTextComments.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static TextComments.Holder.Builderbuilder()static TextComments.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsTextComments()default TextCommentsgetTextComments()default voidremoveTextComments()Removes the Text Comments (seeTextCommentsstatic TextComments.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static TextComments.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Text Comments (seeTextComments)- Returns:
- a wrapper object implementing the
TextComments.Holderinterface.
-
builder
static TextComments.Holder.Builder builder()
- Returns:
- a
TextComments.Holder.Builderto create Text Comments Items with a fluent API.
-
builder
static TextComments.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- 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
default TextComments 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
-
-