Interface ScreeningTestModeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
VisualFieldStaticPerimetryTestParametersModule
- All Known Implementing Classes:
OphthalmicVisualFieldStaticPerimetryMeasurementsIOD,ScreeningTestModeCodeSequence.SimpleHolder
- Enclosing class:
- ScreeningTestModeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Screening Test Mode Code Sequence" (see
ScreeningTestModeCodeSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault ScreeningTestModeCodeSequenceAdds a new Screening Test Mode Code Sequence (seeScreeningTestModeCodeSequence) with initial capacity 1 (seeensureScreeningTestModeCodeSequence(int)) if it does not already exist.default ScreeningTestModeCodeSequenceensureScreeningTestModeCodeSequence(int initialCapacity) Adds a new Screening Test Mode Code Sequence (seeScreeningTestModeCodeSequence) if it does not already exist.default ScreeningTestModeCodeSequencedefault ScreeningTestModeCodeSequencenewScreeningTestModeCodeSequence(int initialCapacity) Adds a new Screening Test Mode Code Sequence.default voidRemoves the Screening Test Mode Code Sequence (seeScreeningTestModeCodeSequencewrap(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 Screening Test Mode Code Sequence (seeScreeningTestModeCodeSequence)- Returns:
- A wrapper object implementing the
ScreeningTestModeCodeSequence.Holderinterface.
-
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
- Returns:
- the Screening Test Mode Code Sequence (see
ScreeningTestModeCodeSequence)
-
newScreeningTestModeCodeSequence
Adds a new Screening Test Mode Code Sequence. (seeScreeningTestModeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Screening Test Mode Code Sequence
-
ensureScreeningTestModeCodeSequence
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
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
-