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 SourceHangingProtocolSequenceAdds a new Source Hanging Protocol Sequence (seeSourceHangingProtocolSequence) with initial capacity 1 (seeensureSourceHangingProtocolSequence(int)) if it does not already exist.default SourceHangingProtocolSequenceensureSourceHangingProtocolSequence(int initialCapacity) Adds a new Source Hanging Protocol Sequence (seeSourceHangingProtocolSequence) 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 (seeSourceHangingProtocolSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Source Hanging Protocol Sequence is created.- Returns:
- Either the already existing Source Hanging Protocol Sequence (see
SourceHangingProtocolSequence) or a new one with capacityinitialCapacity.
-
ensureSourceHangingProtocolSequence
Adds a new Source Hanging Protocol Sequence (seeSourceHangingProtocolSequence) with initial capacity 1 (seeensureSourceHangingProtocolSequence(int)) if it does not already exist.- Returns:
- Either the already existing Source Hanging Protocol Sequence (see
SourceHangingProtocolSequence) or a new one with capacity 1.
-
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
-