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