Interface STOWRSStorageSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
OutputDestinationSequence.Item,OutputInformationSequence.Item,STOWRSStorageSequence.SimpleHolder
- Enclosing class:
- STOWRSStorageSequence
A class implementing this interface can hold attributes which contain the DICOM tag "STOW-RS Storage Sequence" (see
STOWRSStorageSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault STOWRSStorageSequenceAdds 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 STOWRSStorageSequencedefault STOWRSStorageSequencenewSTOWRSStorageSequence(int initialCapacity) Adds a new STOW-RS Storage Sequence.default voidRemoves the STOW-RS Storage Sequence (seeSTOWRSStorageSequencestatic STOWRSStorageSequence.Holderwrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the STOW-RS Storage Sequence (seeSTOWRSStorageSequence)- Returns:
- A wrapper object implementing the
STOWRSStorageSequence.Holderinterface.
-
builder
- Returns:
- a
STOWRSStorageSequence.Holder.Builderto create STOW-RS Storage Sequence Items with a fluent API.
-
builder
- 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
- Returns:
- the STOW-RS Storage Sequence (see
STOWRSStorageSequence)
-
newSTOWRSStorageSequence
Adds a new STOW-RS Storage Sequence. (seeSTOWRSStorageSequence)- Parameters:
initialCapacity- the initial capacity for the new STOW-RS Storage Sequence
-
ensureSTOWRSStorageSequence
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
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
-