Interface DeviceLength.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
DeviceLength.SimpleHolder,DeviceSequence.Item
- Enclosing class:
- DeviceLength
A class implementing this interface can hold attributes which contain the DICOM tag "Device Length" (see
DeviceLength)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceLength.Holder.Builderbuilder()static DeviceLength.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault DeviceLengthdefault voidRemoves the Device Length (seeDeviceLengthstatic DeviceLength.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 Device Length (seeDeviceLength)- Returns:
- A wrapper object implementing the
DeviceLength.Holderinterface.
-
builder
- Returns:
- a
DeviceLength.Holder.Builderto create Device Length Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theDeviceLength.Holder.Builder.- Returns:
- a
DeviceLength.Holder.Builderto create Device Length Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDeviceLength
- Returns:
- the Device Length (see
DeviceLength)
-
containsDeviceLength
default boolean containsDeviceLength()- Returns:
- Whether it contains the Device Length (see
DeviceLength)
-
removeDeviceLength
default void removeDeviceLength()Removes the Device Length (seeDeviceLength
-