Interface DeliveryTimeStructureCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
RTPrescriptionSequence.Item
- Enclosing class:
- DeliveryTimeStructureCodeSequence
public static interface DeliveryTimeStructureCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Delivery Time Structure Code Sequence" (seeDeliveryTimeStructureCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDeliveryTimeStructureCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static DeliveryTimeStructureCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Delivery Time Structure Code Sequence (seeDeliveryTimeStructureCodeSequence)- Returns:
- a wrapper object implementing the
DeliveryTimeStructureCodeSequence.Holderinterface.
-
builder
static DeliveryTimeStructureCodeSequence.Holder.Builder builder()
- Returns:
- a
DeliveryTimeStructureCodeSequence.Holder.Builderto create Delivery Time Structure Code Sequence Items with a fluent API.
-
builder
static DeliveryTimeStructureCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theDeliveryTimeStructureCodeSequence.Holder.Builder.- Returns:
- a
DeliveryTimeStructureCodeSequence.Holder.Builderto create Delivery Time Structure Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDeliveryTimeStructureCodeSequence
default DeliveryTimeStructureCodeSequence getDeliveryTimeStructureCodeSequence()
- Returns:
- the Delivery Time Structure Code Sequence (see
DeliveryTimeStructureCodeSequence)
-
newDeliveryTimeStructureCodeSequence
default DeliveryTimeStructureCodeSequence newDeliveryTimeStructureCodeSequence(int initialCapacity)
Adds a new Delivery Time Structure Code Sequence. (seeDeliveryTimeStructureCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Delivery Time Structure Code Sequence- Returns:
- the newly created DeliveryTimeStructureCodeSequence.
-
ensureDeliveryTimeStructureCodeSequence
default DeliveryTimeStructureCodeSequence ensureDeliveryTimeStructureCodeSequence(int initialCapacity)
Adds a new Delivery Time Structure Code Sequence (seeDeliveryTimeStructureCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Delivery Time Structure Code Sequence is created.- Returns:
- either the already existing Delivery Time Structure Code Sequence (see
DeliveryTimeStructureCodeSequence) or a new one with capacityinitialCapacity.
-
ensureDeliveryTimeStructureCodeSequence
default DeliveryTimeStructureCodeSequence ensureDeliveryTimeStructureCodeSequence()
Adds a new Delivery Time Structure Code Sequence (seeDeliveryTimeStructureCodeSequence) with initial capacity 1 (seeensureDeliveryTimeStructureCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Delivery Time Structure Code Sequence (see
DeliveryTimeStructureCodeSequence) or a new one with capacity 1.
-
containsDeliveryTimeStructureCodeSequence
default boolean containsDeliveryTimeStructureCodeSequence()
- Returns:
- whether it contains the Delivery Time Structure Code Sequence (see
DeliveryTimeStructureCodeSequence)
-
removeDeliveryTimeStructureCodeSequence
default void removeDeliveryTimeStructureCodeSequence()
Removes the Delivery Time Structure Code Sequence (seeDeliveryTimeStructureCodeSequence
-
-