Interface SpectralWidth.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
MRSpectroscopyModule
- All Known Implementing Classes:
MRSpectroscopyIOD,SpectralWidth.SimpleHolder
- Enclosing class:
- SpectralWidth
A class implementing this interface can hold attributes which contain the DICOM tag "Spectral Width" (see
SpectralWidth)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SpectralWidth.Holder.Builderbuilder()static SpectralWidth.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault SpectralWidthdefault voidRemoves the Spectral Width (seeSpectralWidthstatic SpectralWidth.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 Spectral Width (seeSpectralWidth)- Returns:
- A wrapper object implementing the
SpectralWidth.Holderinterface.
-
builder
- Returns:
- a
SpectralWidth.Holder.Builderto create Spectral Width Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theSpectralWidth.Holder.Builder.- Returns:
- a
SpectralWidth.Holder.Builderto create Spectral Width Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSpectralWidth
- Returns:
- the Spectral Width (see
SpectralWidth)
-
containsSpectralWidth
default boolean containsSpectralWidth()- Returns:
- Whether it contains the Spectral Width (see
SpectralWidth)
-
removeSpectralWidth
default void removeSpectralWidth()Removes the Spectral Width (seeSpectralWidth
-