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