Interface STOWRSStorageSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
OutputDestinationSequence.Item,OutputInformationSequence.Item
- Enclosing class:
- STOWRSStorageSequence
public static interface STOWRSStorageSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "STOW-RS Storage Sequence" (seeSTOWRSStorageSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSTOWRSStorageSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static STOWRSStorageSequence.Holder.Builderbuilder()static STOWRSStorageSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsSTOWRSStorageSequence()default STOWRSStorageSequenceensureSTOWRSStorageSequence()Adds a new STOW-RS Storage Sequence (seeSTOWRSStorageSequence) with initial capacity 1 (seeensureSTOWRSStorageSequence(int)) if it does not already exist.default STOWRSStorageSequenceensureSTOWRSStorageSequence(int initialCapacity)Adds a new STOW-RS Storage Sequence (seeSTOWRSStorageSequence) if it does not already exist.default STOWRSStorageSequencegetSTOWRSStorageSequence()default STOWRSStorageSequencenewSTOWRSStorageSequence(int initialCapacity)Adds a new STOW-RS Storage Sequence.default voidremoveSTOWRSStorageSequence()Removes the STOW-RS Storage Sequence (seeSTOWRSStorageSequencestatic STOWRSStorageSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static STOWRSStorageSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the STOW-RS Storage Sequence (seeSTOWRSStorageSequence)- Returns:
- a wrapper object implementing the
STOWRSStorageSequence.Holderinterface.
-
builder
static STOWRSStorageSequence.Holder.Builder builder()
- Returns:
- a
STOWRSStorageSequence.Holder.Builderto create STOW-RS Storage Sequence Items with a fluent API.
-
builder
static STOWRSStorageSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theSTOWRSStorageSequence.Holder.Builder.- Returns:
- a
STOWRSStorageSequence.Holder.Builderto create STOW-RS Storage Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSTOWRSStorageSequence
default STOWRSStorageSequence getSTOWRSStorageSequence()
- Returns:
- the STOW-RS Storage Sequence (see
STOWRSStorageSequence)
-
newSTOWRSStorageSequence
default STOWRSStorageSequence newSTOWRSStorageSequence(int initialCapacity)
Adds a new STOW-RS Storage Sequence. (seeSTOWRSStorageSequence)- Parameters:
initialCapacity- the initial capacity for the new STOW-RS Storage Sequence- Returns:
- the newly created STOWRSStorageSequence.
-
ensureSTOWRSStorageSequence
default STOWRSStorageSequence ensureSTOWRSStorageSequence(int initialCapacity)
Adds a new STOW-RS Storage Sequence (seeSTOWRSStorageSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new STOW-RS Storage Sequence is created.- Returns:
- either the already existing STOW-RS Storage Sequence (see
STOWRSStorageSequence) or a new one with capacityinitialCapacity.
-
ensureSTOWRSStorageSequence
default STOWRSStorageSequence ensureSTOWRSStorageSequence()
Adds a new STOW-RS Storage Sequence (seeSTOWRSStorageSequence) with initial capacity 1 (seeensureSTOWRSStorageSequence(int)) if it does not already exist.- Returns:
- either the already existing STOW-RS Storage Sequence (see
STOWRSStorageSequence) or a new one with capacity 1.
-
containsSTOWRSStorageSequence
default boolean containsSTOWRSStorageSequence()
- Returns:
- whether it contains the STOW-RS Storage Sequence (see
STOWRSStorageSequence)
-
removeSTOWRSStorageSequence
default void removeSTOWRSStorageSequence()
Removes the STOW-RS Storage Sequence (seeSTOWRSStorageSequence
-
-