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