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