Interface SourceHangingProtocolSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
HangingProtocolDefinitionModule
- All Known Implementing Classes:
HangingProtocolIOD
- Enclosing class:
- SourceHangingProtocolSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Source Hanging Protocol Sequence" (see
SourceHangingProtocolSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault SourceHangingProtocolSequenceensureSourceHangingProtocolSequence(int initialCapacity) Adds a new Source Hanging Protocol Sequence if it does not already exist.default SourceHangingProtocolSequencedefault SourceHangingProtocolSequencenewSourceHangingProtocolSequence(int initialCapacity) Adds a new Source Hanging Protocol Sequence.default voidRemoves the Source Hanging Protocol Sequence (seeSourceHangingProtocolSequencewrap(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 Source Hanging Protocol Sequence (seeSourceHangingProtocolSequence)- Returns:
- A wrapper object implementing the
SourceHangingProtocolSequence.Holderinterface.
-
getSourceHangingProtocolSequence
- Returns:
- the Source Hanging Protocol Sequence (see
SourceHangingProtocolSequence)
-
newSourceHangingProtocolSequence
Adds a new Source Hanging Protocol Sequence. (seeSourceHangingProtocolSequence)- Parameters:
initialCapacity- the initial capacity for the new Source Hanging Protocol Sequence
-
ensureSourceHangingProtocolSequence
Adds a new Source Hanging Protocol Sequence if it does not already exist. (seeSourceHangingProtocolSequence)- Parameters:
initialCapacity- the initial capacity if a new Source Hanging Protocol Sequence is created
-
containsSourceHangingProtocolSequence
default boolean containsSourceHangingProtocolSequence()- Returns:
- Whether it contains the Source Hanging Protocol Sequence (see
SourceHangingProtocolSequence)
-
removeSourceHangingProtocolSequence
default void removeSourceHangingProtocolSequence()Removes the Source Hanging Protocol Sequence (seeSourceHangingProtocolSequence
-