Interface ScreeningTestModeCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
VisualFieldStaticPerimetryTestParametersModule
- All Known Implementing Classes:
OphthalmicVisualFieldStaticPerimetryMeasurementsIOD,VisualFieldStaticPerimetryTestParametersModule.SimpleWrapper
- Enclosing class:
- ScreeningTestModeCodeSequence
public static interface ScreeningTestModeCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Screening Test Mode Code Sequence" (seeScreeningTestModeCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classScreeningTestModeCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static ScreeningTestModeCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Screening Test Mode Code Sequence (seeScreeningTestModeCodeSequence)- Returns:
- a wrapper object implementing the
ScreeningTestModeCodeSequence.Holderinterface.
-
builder
static ScreeningTestModeCodeSequence.Holder.Builder builder()
- Returns:
- a
ScreeningTestModeCodeSequence.Holder.Builderto create Screening Test Mode Code Sequence Items with a fluent API.
-
builder
static ScreeningTestModeCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theScreeningTestModeCodeSequence.Holder.Builder.- Returns:
- a
ScreeningTestModeCodeSequence.Holder.Builderto create Screening Test Mode Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getScreeningTestModeCodeSequence
default ScreeningTestModeCodeSequence getScreeningTestModeCodeSequence()
- Returns:
- the Screening Test Mode Code Sequence (see
ScreeningTestModeCodeSequence)
-
newScreeningTestModeCodeSequence
default ScreeningTestModeCodeSequence newScreeningTestModeCodeSequence(int initialCapacity)
Adds a new Screening Test Mode Code Sequence. (seeScreeningTestModeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Screening Test Mode Code Sequence- Returns:
- the newly created ScreeningTestModeCodeSequence.
-
ensureScreeningTestModeCodeSequence
default ScreeningTestModeCodeSequence ensureScreeningTestModeCodeSequence(int initialCapacity)
Adds a new Screening Test Mode Code Sequence (seeScreeningTestModeCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Screening Test Mode Code Sequence is created.- Returns:
- either the already existing Screening Test Mode Code Sequence (see
ScreeningTestModeCodeSequence) or a new one with capacityinitialCapacity.
-
ensureScreeningTestModeCodeSequence
default ScreeningTestModeCodeSequence ensureScreeningTestModeCodeSequence()
Adds a new Screening Test Mode Code Sequence (seeScreeningTestModeCodeSequence) with initial capacity 1 (seeensureScreeningTestModeCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Screening Test Mode Code Sequence (see
ScreeningTestModeCodeSequence) or a new one with capacity 1.
-
containsScreeningTestModeCodeSequence
default boolean containsScreeningTestModeCodeSequence()
- Returns:
- whether it contains the Screening Test Mode Code Sequence (see
ScreeningTestModeCodeSequence)
-
removeScreeningTestModeCodeSequence
default void removeScreeningTestModeCodeSequence()
Removes the Screening Test Mode Code Sequence (seeScreeningTestModeCodeSequence
-
-