Interface StorageProtocolElementSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
PerformedStorageModule
- All Known Implementing Classes:
CTPerformedProcedureProtocolIOD,XAPerformedProcedureProtocolIOD
- Enclosing class:
- StorageProtocolElementSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Storage Protocol Element Sequence" (see
StorageProtocolElementSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault StorageProtocolElementSequenceAdds a new Storage Protocol Element Sequence (seeStorageProtocolElementSequence) with initial capacity 1 (seeensureStorageProtocolElementSequence(int)) if it does not already exist.default StorageProtocolElementSequenceensureStorageProtocolElementSequence(int initialCapacity) Adds a new Storage Protocol Element Sequence (seeStorageProtocolElementSequence) if it does not already exist.default StorageProtocolElementSequencedefault StorageProtocolElementSequencenewStorageProtocolElementSequence(int initialCapacity) Adds a new Storage Protocol Element Sequence.default voidRemoves the Storage Protocol Element Sequence (seeStorageProtocolElementSequencewrap(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 Storage Protocol Element Sequence (seeStorageProtocolElementSequence)- Returns:
- A wrapper object implementing the
StorageProtocolElementSequence.Holderinterface.
-
getStorageProtocolElementSequence
- Returns:
- the Storage Protocol Element Sequence (see
StorageProtocolElementSequence)
-
newStorageProtocolElementSequence
Adds a new Storage Protocol Element Sequence. (seeStorageProtocolElementSequence)- Parameters:
initialCapacity- the initial capacity for the new Storage Protocol Element Sequence
-
ensureStorageProtocolElementSequence
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
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
-