Interface InventoriedStudiesSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
InventoryModule
- All Known Implementing Classes:
InventoryIOD,InventoryModule.SimpleWrapper
- Enclosing class:
- InventoriedStudiesSequence
public static interface InventoriedStudiesSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Inventoried Studies Sequence" (seeInventoriedStudiesSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classInventoriedStudiesSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static InventoriedStudiesSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Inventoried Studies Sequence (seeInventoriedStudiesSequence)- Returns:
- a wrapper object implementing the
InventoriedStudiesSequence.Holderinterface.
-
builder
static InventoriedStudiesSequence.Holder.Builder builder()
- Returns:
- a
InventoriedStudiesSequence.Holder.Builderto create Inventoried Studies Sequence Items with a fluent API.
-
builder
static InventoriedStudiesSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theInventoriedStudiesSequence.Holder.Builder.- Returns:
- a
InventoriedStudiesSequence.Holder.Builderto create Inventoried Studies Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getInventoriedStudiesSequence
default InventoriedStudiesSequence getInventoriedStudiesSequence()
- Returns:
- the Inventoried Studies Sequence (see
InventoriedStudiesSequence)
-
newInventoriedStudiesSequence
default InventoriedStudiesSequence newInventoriedStudiesSequence(int initialCapacity)
Adds a new Inventoried Studies Sequence. (seeInventoriedStudiesSequence)- Parameters:
initialCapacity- the initial capacity for the new Inventoried Studies Sequence- Returns:
- the newly created InventoriedStudiesSequence.
-
ensureInventoriedStudiesSequence
default InventoriedStudiesSequence ensureInventoriedStudiesSequence(int initialCapacity)
Adds a new Inventoried Studies Sequence (seeInventoriedStudiesSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Inventoried Studies Sequence is created.- Returns:
- either the already existing Inventoried Studies Sequence (see
InventoriedStudiesSequence) or a new one with capacityinitialCapacity.
-
ensureInventoriedStudiesSequence
default InventoriedStudiesSequence ensureInventoriedStudiesSequence()
Adds a new Inventoried Studies Sequence (seeInventoriedStudiesSequence) with initial capacity 1 (seeensureInventoriedStudiesSequence(int)) if it does not already exist.- Returns:
- either the already existing Inventoried Studies Sequence (see
InventoriedStudiesSequence) or a new one with capacity 1.
-
containsInventoriedStudiesSequence
default boolean containsInventoriedStudiesSequence()
- Returns:
- whether it contains the Inventoried Studies Sequence (see
InventoriedStudiesSequence)
-
removeInventoriedStudiesSequence
default void removeInventoriedStudiesSequence()
Removes the Inventoried Studies Sequence (seeInventoriedStudiesSequence
-
-