Interface InventoryPurpose.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
InventoryCreationModule,InventoryModule
- All Known Implementing Classes:
InventoryCreationIOD,InventoryIOD,InventoryPurpose.SimpleHolder
- Enclosing class:
- InventoryPurpose
public static interface InventoryPurpose.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Inventory Purpose" (seeInventoryPurpose)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classInventoryPurpose.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static InventoryPurpose.Holder.Builderbuilder()static InventoryPurpose.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsInventoryPurpose()default InventoryPurposegetInventoryPurpose()default voidremoveInventoryPurpose()Removes the Inventory Purpose (seeInventoryPurposestatic InventoryPurpose.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static InventoryPurpose.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Inventory Purpose (seeInventoryPurpose)- Returns:
- a wrapper object implementing the
InventoryPurpose.Holderinterface.
-
builder
static InventoryPurpose.Holder.Builder builder()
- Returns:
- a
InventoryPurpose.Holder.Builderto create Inventory Purpose Items with a fluent API.
-
builder
static InventoryPurpose.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theInventoryPurpose.Holder.Builder.- Returns:
- a
InventoryPurpose.Holder.Builderto create Inventory Purpose Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getInventoryPurpose
default InventoryPurpose getInventoryPurpose()
- Returns:
- the Inventory Purpose (see
InventoryPurpose)
-
containsInventoryPurpose
default boolean containsInventoryPurpose()
- Returns:
- whether it contains the Inventory Purpose (see
InventoryPurpose)
-
removeInventoryPurpose
default void removeInventoryPurpose()
Removes the Inventory Purpose (seeInventoryPurpose
-
-