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