Interface ComponentID.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ComponentID.SimpleHolder,ComponentSequence.Item
- Enclosing class:
- ComponentID
A class implementing this interface can hold attributes which contain the DICOM tag "Component ID" (see
ComponentID)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentID.Holder.Builderbuilder()static ComponentID.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault ComponentIDdefault voidRemoves the Component ID (seeComponentIDstatic ComponentID.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 Component ID (seeComponentID)- Returns:
- A wrapper object implementing the
ComponentID.Holderinterface.
-
builder
- Returns:
- a
ComponentID.Holder.Builderto create Component ID Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theComponentID.Holder.Builder.- Returns:
- a
ComponentID.Holder.Builderto create Component ID Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getComponentID
- Returns:
- the Component ID (see
ComponentID)
-
containsComponentID
default boolean containsComponentID()- Returns:
- Whether it contains the Component ID (see
ComponentID)
-
removeComponentID
default void removeComponentID()Removes the Component ID (seeComponentID
-