Interface SurfaceComments.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
SurfaceComments.SimpleHolder,SurfaceSequence.Item
- Enclosing class:
- SurfaceComments
A class implementing this interface can hold attributes which contain the DICOM tag "Surface Comments" (see
SurfaceComments)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault SurfaceCommentsdefault voidRemoves the Surface Comments (seeSurfaceCommentsstatic SurfaceComments.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 Surface Comments (seeSurfaceComments)- Returns:
- A wrapper object implementing the
SurfaceComments.Holderinterface.
-
builder
- Returns:
- a
SurfaceComments.Holder.Builderto create Surface Comments Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theSurfaceComments.Holder.Builder.- Returns:
- a
SurfaceComments.Holder.Builderto create Surface Comments Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSurfaceComments
- Returns:
- the Surface Comments (see
SurfaceComments)
-
containsSurfaceComments
default boolean containsSurfaceComments()- Returns:
- Whether it contains the Surface Comments (see
SurfaceComments)
-
removeSurfaceComments
default void removeSurfaceComments()Removes the Surface Comments (seeSurfaceComments
-