Interface ReasonForTheAttributeModification.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
OriginalAttributesSequence.Item,ReasonForTheAttributeModification.SimpleHolder
- Enclosing class:
- ReasonForTheAttributeModification
A class implementing this interface can hold attributes which contain the DICOM tag "Reason for the Attribute Modification" (see
ReasonForTheAttributeModification)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault voidRemoves the Reason for the Attribute Modification (seeReasonForTheAttributeModificationwrap(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 Reason for the Attribute Modification (seeReasonForTheAttributeModification)- Returns:
- A wrapper object implementing the
ReasonForTheAttributeModification.Holderinterface.
-
builder
- Returns:
- a
ReasonForTheAttributeModification.Holder.Builderto create Reason for the Attribute Modification Items with a fluent API.
-
builder
static ReasonForTheAttributeModification.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theReasonForTheAttributeModification.Holder.Builder.- Returns:
- a
ReasonForTheAttributeModification.Holder.Builderto create Reason for the Attribute Modification Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getReasonForTheAttributeModification
- Returns:
- the Reason for the Attribute Modification (see
ReasonForTheAttributeModification)
-
containsReasonForTheAttributeModification
default boolean containsReasonForTheAttributeModification()- Returns:
- Whether it contains the Reason for the Attribute Modification (see
ReasonForTheAttributeModification)
-
removeReasonForTheAttributeModification
default void removeReasonForTheAttributeModification()Removes the Reason for the Attribute Modification (seeReasonForTheAttributeModification
-