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