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