Interface NumberOfSamples.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
NumberOfSamples.SimpleHolder
- Enclosing class:
- NumberOfSamples
A class implementing this interface can hold attributes which contain the DICOM tag "Number of Samples" (see
NumberOfSamples)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault NumberOfSamplesdefault voidRemoves the Number of Samples (seeNumberOfSamplesstatic NumberOfSamples.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 Number of Samples (seeNumberOfSamples)- Returns:
- A wrapper object implementing the
NumberOfSamples.Holderinterface.
-
builder
- Returns:
- a
NumberOfSamples.Holder.Builderto create Number of Samples Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theNumberOfSamples.Holder.Builder.- Returns:
- a
NumberOfSamples.Holder.Builderto create Number of Samples Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getNumberOfSamples
- Returns:
- the Number of Samples (see
NumberOfSamples)
-
containsNumberOfSamples
default boolean containsNumberOfSamples()- Returns:
- Whether it contains the Number of Samples (see
NumberOfSamples)
-
removeNumberOfSamples
default void removeNumberOfSamples()Removes the Number of Samples (seeNumberOfSamples
-