Interface HangingProtocolDefinitionSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
HangingProtocolDefinitionModule
- All Known Implementing Classes:
HangingProtocolIOD
- Enclosing class:
- HangingProtocolDefinitionSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Hanging Protocol Definition Sequence" (see
HangingProtocolDefinitionSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanAdds a new Hanging Protocol Definition Sequence (seeHangingProtocolDefinitionSequence) with initial capacity 1 (seeensureHangingProtocolDefinitionSequence(int)) if it does not already exist.ensureHangingProtocolDefinitionSequence(int initialCapacity) Adds a new Hanging Protocol Definition Sequence (seeHangingProtocolDefinitionSequence) if it does not already exist.newHangingProtocolDefinitionSequence(int initialCapacity) Adds a new Hanging Protocol Definition Sequence.default voidRemoves the Hanging Protocol Definition Sequence (seeHangingProtocolDefinitionSequencewrap(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 Hanging Protocol Definition Sequence (seeHangingProtocolDefinitionSequence)- Returns:
- A wrapper object implementing the
HangingProtocolDefinitionSequence.Holderinterface.
-
getHangingProtocolDefinitionSequence
- Returns:
- the Hanging Protocol Definition Sequence (see
HangingProtocolDefinitionSequence)
-
newHangingProtocolDefinitionSequence
Adds a new Hanging Protocol Definition Sequence. (seeHangingProtocolDefinitionSequence)- Parameters:
initialCapacity- the initial capacity for the new Hanging Protocol Definition Sequence
-
ensureHangingProtocolDefinitionSequence
default HangingProtocolDefinitionSequence ensureHangingProtocolDefinitionSequence(int initialCapacity) Adds a new Hanging Protocol Definition Sequence (seeHangingProtocolDefinitionSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Hanging Protocol Definition Sequence is created.- Returns:
- Either the already existing Hanging Protocol Definition Sequence (see
HangingProtocolDefinitionSequence) or a new one with capacityinitialCapacity.
-
ensureHangingProtocolDefinitionSequence
Adds a new Hanging Protocol Definition Sequence (seeHangingProtocolDefinitionSequence) with initial capacity 1 (seeensureHangingProtocolDefinitionSequence(int)) if it does not already exist.- Returns:
- Either the already existing Hanging Protocol Definition Sequence (see
HangingProtocolDefinitionSequence) or a new one with capacity 1.
-
containsHangingProtocolDefinitionSequence
default boolean containsHangingProtocolDefinitionSequence()- Returns:
- Whether it contains the Hanging Protocol Definition Sequence (see
HangingProtocolDefinitionSequence)
-
removeHangingProtocolDefinitionSequence
default void removeHangingProtocolDefinitionSequence()Removes the Hanging Protocol Definition Sequence (seeHangingProtocolDefinitionSequence
-