Interface ScopeOfInventorySequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
InventoryCreationModule,InventoryModule
- All Known Implementing Classes:
InventoryCreationIOD,InventoryCreationModule.SimpleWrapper,InventoryIOD,InventoryModule.SimpleWrapper
- Enclosing class:
- ScopeOfInventorySequence
public static interface ScopeOfInventorySequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Scope of Inventory Sequence" (seeScopeOfInventorySequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classScopeOfInventorySequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ScopeOfInventorySequence.Holder.Builderbuilder()static ScopeOfInventorySequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsScopeOfInventorySequence()default ScopeOfInventorySequenceensureScopeOfInventorySequence()Adds a new Scope of Inventory Sequence (seeScopeOfInventorySequence) with initial capacity 1 (seeensureScopeOfInventorySequence(int)) if it does not already exist.default ScopeOfInventorySequenceensureScopeOfInventorySequence(int initialCapacity)Adds a new Scope of Inventory Sequence (seeScopeOfInventorySequence) if it does not already exist.default ScopeOfInventorySequencegetScopeOfInventorySequence()default ScopeOfInventorySequencenewScopeOfInventorySequence(int initialCapacity)Adds a new Scope of Inventory Sequence.default voidremoveScopeOfInventorySequence()Removes the Scope of Inventory Sequence (seeScopeOfInventorySequencestatic ScopeOfInventorySequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ScopeOfInventorySequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Scope of Inventory Sequence (seeScopeOfInventorySequence)- Returns:
- a wrapper object implementing the
ScopeOfInventorySequence.Holderinterface.
-
builder
static ScopeOfInventorySequence.Holder.Builder builder()
- Returns:
- a
ScopeOfInventorySequence.Holder.Builderto create Scope of Inventory Sequence Items with a fluent API.
-
builder
static ScopeOfInventorySequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theScopeOfInventorySequence.Holder.Builder.- Returns:
- a
ScopeOfInventorySequence.Holder.Builderto create Scope of Inventory Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getScopeOfInventorySequence
default ScopeOfInventorySequence getScopeOfInventorySequence()
- Returns:
- the Scope of Inventory Sequence (see
ScopeOfInventorySequence)
-
newScopeOfInventorySequence
default ScopeOfInventorySequence newScopeOfInventorySequence(int initialCapacity)
Adds a new Scope of Inventory Sequence. (seeScopeOfInventorySequence)- Parameters:
initialCapacity- the initial capacity for the new Scope of Inventory Sequence- Returns:
- the newly created ScopeOfInventorySequence.
-
ensureScopeOfInventorySequence
default ScopeOfInventorySequence ensureScopeOfInventorySequence(int initialCapacity)
Adds a new Scope of Inventory Sequence (seeScopeOfInventorySequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Scope of Inventory Sequence is created.- Returns:
- either the already existing Scope of Inventory Sequence (see
ScopeOfInventorySequence) or a new one with capacityinitialCapacity.
-
ensureScopeOfInventorySequence
default ScopeOfInventorySequence ensureScopeOfInventorySequence()
Adds a new Scope of Inventory Sequence (seeScopeOfInventorySequence) with initial capacity 1 (seeensureScopeOfInventorySequence(int)) if it does not already exist.- Returns:
- either the already existing Scope of Inventory Sequence (see
ScopeOfInventorySequence) or a new one with capacity 1.
-
containsScopeOfInventorySequence
default boolean containsScopeOfInventorySequence()
- Returns:
- whether it contains the Scope of Inventory Sequence (see
ScopeOfInventorySequence)
-
removeScopeOfInventorySequence
default void removeScopeOfInventorySequence()
Removes the Scope of Inventory Sequence (seeScopeOfInventorySequence
-
-