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