Interface ChannelOffset.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ChannelDefinitionSequence.Item,ChannelDisplaySequence.Item,ChannelOffset.SimpleHolder
- Enclosing class:
- ChannelOffset
A class implementing this interface can hold attributes which contain the DICOM tag "Channel Offset" (see
ChannelOffset)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelOffset.Holder.Builderbuilder()static ChannelOffset.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault ChannelOffsetdefault voidRemoves the Channel Offset (seeChannelOffsetstatic ChannelOffset.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 Channel Offset (seeChannelOffset)- Returns:
- A wrapper object implementing the
ChannelOffset.Holderinterface.
-
builder
- Returns:
- a
ChannelOffset.Holder.Builderto create Channel Offset Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theChannelOffset.Holder.Builder.- Returns:
- a
ChannelOffset.Holder.Builderto create Channel Offset Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getChannelOffset
- Returns:
- the Channel Offset (see
ChannelOffset)
-
containsChannelOffset
default boolean containsChannelOffset()- Returns:
- Whether it contains the Channel Offset (see
ChannelOffset)
-
removeChannelOffset
default void removeChannelOffset()Removes the Channel Offset (seeChannelOffset
-