Interface MandatoryComponentType.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ComponentTypesSequence.Item,MandatoryComponentType.SimpleHolder
- Enclosing class:
- MandatoryComponentType
A class implementing this interface can hold attributes which contain the DICOM tag "Mandatory Component Type" (see
MandatoryComponentType)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault MandatoryComponentTypedefault voidRemoves the Mandatory Component Type (seeMandatoryComponentTypewrap(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 Mandatory Component Type (seeMandatoryComponentType)- Returns:
- A wrapper object implementing the
MandatoryComponentType.Holderinterface.
-
builder
- Returns:
- a
MandatoryComponentType.Holder.Builderto create Mandatory Component Type Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theMandatoryComponentType.Holder.Builder.- Returns:
- a
MandatoryComponentType.Holder.Builderto create Mandatory Component Type Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getMandatoryComponentType
- Returns:
- the Mandatory Component Type (see
MandatoryComponentType)
-
containsMandatoryComponentType
default boolean containsMandatoryComponentType()- Returns:
- Whether it contains the Mandatory Component Type (see
MandatoryComponentType)
-
removeMandatoryComponentType
default void removeMandatoryComponentType()Removes the Mandatory Component Type (seeMandatoryComponentType
-