Interface CountsSource.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
EnhancedPETCorrectionsModule,PETSeriesModule
- All Known Implementing Classes:
CountsSource.SimpleHolder,EnhancedPETImageIOD,PETImageIOD
- Enclosing class:
- CountsSource
A class implementing this interface can hold attributes which contain the DICOM tag "Counts Source" (see
CountsSource)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CountsSource.Holder.Builderbuilder()static CountsSource.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault CountsSourcedefault voidRemoves the Counts Source (seeCountsSourcestatic CountsSource.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 Counts Source (seeCountsSource)- Returns:
- A wrapper object implementing the
CountsSource.Holderinterface.
-
builder
- Returns:
- a
CountsSource.Holder.Builderto create Counts Source Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theCountsSource.Holder.Builder.- Returns:
- a
CountsSource.Holder.Builderto create Counts Source Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getCountsSource
- Returns:
- the Counts Source (see
CountsSource)
-
containsCountsSource
default boolean containsCountsSource()- Returns:
- Whether it contains the Counts Source (see
CountsSource)
-
removeCountsSource
default void removeCountsSource()Removes the Counts Source (seeCountsSource
-