Interface WaveformAnnotationSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
WaveformAnnotationModule
- All Known Implementing Classes:
AmbulatoryECGIOD,ArterialPulseWaveformIOD,BasicCardiacElectrophysiologyWaveformIOD,BasicVoiceAudioWaveformIOD,BodyPositionWaveformIOD,ElectromyogramIOD,ElectrooculogramIOD,GeneralAudioWaveformIOD,GeneralECGIOD,HemodynamicWaveformIOD,MultiChannelRespiratoryWaveformIOD,RespiratoryWaveformIOD,RoutineScalpElectroencephalogramIOD,SleepElectroencephalogramIOD,TwelveLeadECGIOD,WaveformAnnotationModule.SimpleWrapper
- Enclosing class:
- WaveformAnnotationSequence
public static interface WaveformAnnotationSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Waveform Annotation Sequence" (seeWaveformAnnotationSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classWaveformAnnotationSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static WaveformAnnotationSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Waveform Annotation Sequence (seeWaveformAnnotationSequence)- Returns:
- a wrapper object implementing the
WaveformAnnotationSequence.Holderinterface.
-
builder
static WaveformAnnotationSequence.Holder.Builder builder()
- Returns:
- a
WaveformAnnotationSequence.Holder.Builderto create Waveform Annotation Sequence Items with a fluent API.
-
builder
static WaveformAnnotationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theWaveformAnnotationSequence.Holder.Builder.- Returns:
- a
WaveformAnnotationSequence.Holder.Builderto create Waveform Annotation Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getWaveformAnnotationSequence
default WaveformAnnotationSequence getWaveformAnnotationSequence()
- Returns:
- the Waveform Annotation Sequence (see
WaveformAnnotationSequence)
-
newWaveformAnnotationSequence
default WaveformAnnotationSequence newWaveformAnnotationSequence(int initialCapacity)
Adds a new Waveform Annotation Sequence. (seeWaveformAnnotationSequence)- Parameters:
initialCapacity- the initial capacity for the new Waveform Annotation Sequence- Returns:
- the newly created WaveformAnnotationSequence.
-
ensureWaveformAnnotationSequence
default WaveformAnnotationSequence ensureWaveformAnnotationSequence(int initialCapacity)
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
default WaveformAnnotationSequence 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
-
-