Interface StrainSource.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
StrainSource.SimpleHolder,StrainStockSequence.Item
- Enclosing class:
- StrainSource
A class implementing this interface can hold attributes which contain the DICOM tag "Strain Source" (see
StrainSource)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic StrainSource.Holder.Builderbuilder()static StrainSource.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault StrainSourcedefault voidRemoves the Strain Source (seeStrainSourcestatic StrainSource.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 Strain Source (seeStrainSource)- Returns:
- A wrapper object implementing the
StrainSource.Holderinterface.
-
builder
- Returns:
- a
StrainSource.Holder.Builderto create Strain Source Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theStrainSource.Holder.Builder.- Returns:
- a
StrainSource.Holder.Builderto create Strain Source Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getStrainSource
- Returns:
- the Strain Source (see
StrainSource)
-
containsStrainSource
default boolean containsStrainSource()- Returns:
- Whether it contains the Strain Source (see
StrainSource)
-
removeStrainSource
default void removeStrainSource()Removes the Strain Source (seeStrainSource
-