Interface BillingSuppliesAndDevicesSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
BillingAndMaterialManagementCodeModule
- All Known Implementing Classes:
BillingSuppliesAndDevicesSequence.SimpleHolder,ModalityPerformedProcedureStepIOD
- Enclosing class:
- BillingSuppliesAndDevicesSequence
public static interface BillingSuppliesAndDevicesSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Billing Supplies and Devices Sequence" (seeBillingSuppliesAndDevicesSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBillingSuppliesAndDevicesSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static BillingSuppliesAndDevicesSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Billing Supplies and Devices Sequence (seeBillingSuppliesAndDevicesSequence)- Returns:
- a wrapper object implementing the
BillingSuppliesAndDevicesSequence.Holderinterface.
-
builder
static BillingSuppliesAndDevicesSequence.Holder.Builder builder()
- Returns:
- a
BillingSuppliesAndDevicesSequence.Holder.Builderto create Billing Supplies and Devices Sequence Items with a fluent API.
-
builder
static BillingSuppliesAndDevicesSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theBillingSuppliesAndDevicesSequence.Holder.Builder.- Returns:
- a
BillingSuppliesAndDevicesSequence.Holder.Builderto create Billing Supplies and Devices Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getBillingSuppliesAndDevicesSequence
default BillingSuppliesAndDevicesSequence getBillingSuppliesAndDevicesSequence()
- Returns:
- the Billing Supplies and Devices Sequence (see
BillingSuppliesAndDevicesSequence)
-
newBillingSuppliesAndDevicesSequence
default BillingSuppliesAndDevicesSequence newBillingSuppliesAndDevicesSequence(int initialCapacity)
Adds a new Billing Supplies and Devices Sequence. (seeBillingSuppliesAndDevicesSequence)- Parameters:
initialCapacity- the initial capacity for the new Billing Supplies and Devices Sequence- Returns:
- the newly created BillingSuppliesAndDevicesSequence.
-
ensureBillingSuppliesAndDevicesSequence
default BillingSuppliesAndDevicesSequence ensureBillingSuppliesAndDevicesSequence(int initialCapacity)
Adds a new Billing Supplies and Devices Sequence (seeBillingSuppliesAndDevicesSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Billing Supplies and Devices Sequence is created.- Returns:
- either the already existing Billing Supplies and Devices Sequence (see
BillingSuppliesAndDevicesSequence) or a new one with capacityinitialCapacity.
-
ensureBillingSuppliesAndDevicesSequence
default BillingSuppliesAndDevicesSequence ensureBillingSuppliesAndDevicesSequence()
Adds a new Billing Supplies and Devices Sequence (seeBillingSuppliesAndDevicesSequence) with initial capacity 1 (seeensureBillingSuppliesAndDevicesSequence(int)) if it does not already exist.- Returns:
- either the already existing Billing Supplies and Devices Sequence (see
BillingSuppliesAndDevicesSequence) or a new one with capacity 1.
-
containsBillingSuppliesAndDevicesSequence
default boolean containsBillingSuppliesAndDevicesSequence()
- Returns:
- whether it contains the Billing Supplies and Devices Sequence (see
BillingSuppliesAndDevicesSequence)
-
removeBillingSuppliesAndDevicesSequence
default void removeBillingSuppliesAndDevicesSequence()
Removes the Billing Supplies and Devices Sequence (seeBillingSuppliesAndDevicesSequence
-
-