Interface MAC.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
InventoryCreationModule
- All Known Implementing Classes:
FileAccessSequence.Item,IncorporatedInventoryInstanceSequence.Item,InventoryCreationIOD,MAC.SimpleHolder,ReferencedSOPInstanceMACSequence.Item
- Enclosing class:
- MAC
public static interface MAC.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "MAC" (seeMAC)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMAC.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static MAC.Holder.Builderbuilder()static MAC.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsMAC()default MACgetMAC()default voidremoveMAC()Removes the MAC (seeMACstatic MAC.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static MAC.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the MAC (seeMAC)- Returns:
- a wrapper object implementing the
MAC.Holderinterface.
-
builder
static MAC.Holder.Builder builder()
- Returns:
- a
MAC.Holder.Builderto create MAC Items with a fluent API.
-
builder
static MAC.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- 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.
-
containsMAC
default boolean containsMAC()
- Returns:
- whether it contains the MAC (see
MAC)
-
removeMAC
default void removeMAC()
Removes the MAC (seeMAC
-
-