Interface StorageProtocolElementSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
PerformedStorageModule
- All Known Implementing Classes:
CTPerformedProcedureProtocolIOD,PerformedStorageModule.SimpleWrapper,XAPerformedProcedureProtocolIOD
- Enclosing class:
- StorageProtocolElementSequence
public static interface StorageProtocolElementSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Storage Protocol Element Sequence" (seeStorageProtocolElementSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStorageProtocolElementSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static StorageProtocolElementSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Storage Protocol Element Sequence (seeStorageProtocolElementSequence)- Returns:
- a wrapper object implementing the
StorageProtocolElementSequence.Holderinterface.
-
builder
static StorageProtocolElementSequence.Holder.Builder builder()
- Returns:
- a
StorageProtocolElementSequence.Holder.Builderto create Storage Protocol Element Sequence Items with a fluent API.
-
builder
static StorageProtocolElementSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theStorageProtocolElementSequence.Holder.Builder.- Returns:
- a
StorageProtocolElementSequence.Holder.Builderto create Storage Protocol Element Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getStorageProtocolElementSequence
default StorageProtocolElementSequence getStorageProtocolElementSequence()
- Returns:
- the Storage Protocol Element Sequence (see
StorageProtocolElementSequence)
-
newStorageProtocolElementSequence
default StorageProtocolElementSequence newStorageProtocolElementSequence(int initialCapacity)
Adds a new Storage Protocol Element Sequence. (seeStorageProtocolElementSequence)- Parameters:
initialCapacity- the initial capacity for the new Storage Protocol Element Sequence- Returns:
- the newly created StorageProtocolElementSequence.
-
ensureStorageProtocolElementSequence
default StorageProtocolElementSequence ensureStorageProtocolElementSequence(int initialCapacity)
Adds a new Storage Protocol Element Sequence (seeStorageProtocolElementSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Storage Protocol Element Sequence is created.- Returns:
- either the already existing Storage Protocol Element Sequence (see
StorageProtocolElementSequence) or a new one with capacityinitialCapacity.
-
ensureStorageProtocolElementSequence
default StorageProtocolElementSequence ensureStorageProtocolElementSequence()
Adds a new Storage Protocol Element Sequence (seeStorageProtocolElementSequence) with initial capacity 1 (seeensureStorageProtocolElementSequence(int)) if it does not already exist.- Returns:
- either the already existing Storage Protocol Element Sequence (see
StorageProtocolElementSequence) or a new one with capacity 1.
-
containsStorageProtocolElementSequence
default boolean containsStorageProtocolElementSequence()
- Returns:
- whether it contains the Storage Protocol Element Sequence (see
StorageProtocolElementSequence)
-
removeStorageProtocolElementSequence
default void removeStorageProtocolElementSequence()
Removes the Storage Protocol Element Sequence (seeStorageProtocolElementSequence
-
-