Interface WaveformAnnotationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
WaveformAnnotationModule
- All Known Implementing Classes:
AmbulatoryECGIOD,ArterialPulseWaveformIOD,BasicCardiacElectrophysiologyWaveformIOD,BasicVoiceAudioWaveformIOD,BodyPositionWaveformIOD,ElectromyogramIOD,ElectrooculogramIOD,GeneralAudioWaveformIOD,GeneralECGIOD,HemodynamicWaveformIOD,MultiChannelRespiratoryWaveformIOD,RespiratoryWaveformIOD,RoutineScalpElectroencephalogramIOD,SleepElectroencephalogramIOD,TwelveLeadECGIOD
- Enclosing class:
- WaveformAnnotationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Waveform Annotation Sequence" (see
WaveformAnnotationSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault WaveformAnnotationSequenceAdds a new Waveform Annotation Sequence (seeWaveformAnnotationSequence) with initial capacity 1 (seeensureWaveformAnnotationSequence(int)) if it does not already exist.default WaveformAnnotationSequenceensureWaveformAnnotationSequence(int initialCapacity) Adds a new Waveform Annotation Sequence (seeWaveformAnnotationSequence) if it does not already exist.default WaveformAnnotationSequencedefault WaveformAnnotationSequencenewWaveformAnnotationSequence(int initialCapacity) Adds a new Waveform Annotation Sequence.default voidRemoves the Waveform Annotation Sequence (seeWaveformAnnotationSequencewrap(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 Waveform Annotation Sequence (seeWaveformAnnotationSequence)- Returns:
- A wrapper object implementing the
WaveformAnnotationSequence.Holderinterface.
-
getWaveformAnnotationSequence
- Returns:
- the Waveform Annotation Sequence (see
WaveformAnnotationSequence)
-
newWaveformAnnotationSequence
Adds a new Waveform Annotation Sequence. (seeWaveformAnnotationSequence)- Parameters:
initialCapacity- the initial capacity for the new Waveform Annotation Sequence
-
ensureWaveformAnnotationSequence
Adds a new Waveform Annotation Sequence (seeWaveformAnnotationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Waveform Annotation Sequence is created.- Returns:
- Either the already existing Waveform Annotation Sequence (see
WaveformAnnotationSequence) or a new one with capacityinitialCapacity.
-
ensureWaveformAnnotationSequence
Adds a new Waveform Annotation Sequence (seeWaveformAnnotationSequence) with initial capacity 1 (seeensureWaveformAnnotationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Waveform Annotation Sequence (see
WaveformAnnotationSequence) or a new one with capacity 1.
-
containsWaveformAnnotationSequence
default boolean containsWaveformAnnotationSequence()- Returns:
- Whether it contains the Waveform Annotation Sequence (see
WaveformAnnotationSequence)
-
removeWaveformAnnotationSequence
default void removeWaveformAnnotationSequence()Removes the Waveform Annotation Sequence (seeWaveformAnnotationSequence
-