Interface RelevantOPTAttributesSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
OphthalmicThicknessMapModule
- All Known Implementing Classes:
OphthalmicThicknessMapIOD,RelevantOPTAttributesSequence.SimpleHolder
- Enclosing class:
- RelevantOPTAttributesSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Relevant OPT Attributes Sequence" (see
RelevantOPTAttributesSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault RelevantOPTAttributesSequenceAdds a new Relevant OPT Attributes Sequence (seeRelevantOPTAttributesSequence) with initial capacity 1 (seeensureRelevantOPTAttributesSequence(int)) if it does not already exist.default RelevantOPTAttributesSequenceensureRelevantOPTAttributesSequence(int initialCapacity) Adds a new Relevant OPT Attributes Sequence (seeRelevantOPTAttributesSequence) if it does not already exist.default RelevantOPTAttributesSequencedefault RelevantOPTAttributesSequencenewRelevantOPTAttributesSequence(int initialCapacity) Adds a new Relevant OPT Attributes Sequence.default voidRemoves the Relevant OPT Attributes Sequence (seeRelevantOPTAttributesSequencewrap(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 Relevant OPT Attributes Sequence (seeRelevantOPTAttributesSequence)- Returns:
- A wrapper object implementing the
RelevantOPTAttributesSequence.Holderinterface.
-
builder
- Returns:
- a
RelevantOPTAttributesSequence.Holder.Builderto create Relevant OPT Attributes Sequence Items with a fluent API.
-
builder
static RelevantOPTAttributesSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theRelevantOPTAttributesSequence.Holder.Builder.- Returns:
- a
RelevantOPTAttributesSequence.Holder.Builderto create Relevant OPT Attributes Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRelevantOPTAttributesSequence
- Returns:
- the Relevant OPT Attributes Sequence (see
RelevantOPTAttributesSequence)
-
newRelevantOPTAttributesSequence
Adds a new Relevant OPT Attributes Sequence. (seeRelevantOPTAttributesSequence)- Parameters:
initialCapacity- the initial capacity for the new Relevant OPT Attributes Sequence
-
ensureRelevantOPTAttributesSequence
Adds a new Relevant OPT Attributes Sequence (seeRelevantOPTAttributesSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Relevant OPT Attributes Sequence is created.- Returns:
- Either the already existing Relevant OPT Attributes Sequence (see
RelevantOPTAttributesSequence) or a new one with capacityinitialCapacity.
-
ensureRelevantOPTAttributesSequence
Adds a new Relevant OPT Attributes Sequence (seeRelevantOPTAttributesSequence) with initial capacity 1 (seeensureRelevantOPTAttributesSequence(int)) if it does not already exist.- Returns:
- Either the already existing Relevant OPT Attributes Sequence (see
RelevantOPTAttributesSequence) or a new one with capacity 1.
-
containsRelevantOPTAttributesSequence
default boolean containsRelevantOPTAttributesSequence()- Returns:
- Whether it contains the Relevant OPT Attributes Sequence (see
RelevantOPTAttributesSequence)
-
removeRelevantOPTAttributesSequence
default void removeRelevantOPTAttributesSequence()Removes the Relevant OPT Attributes Sequence (seeRelevantOPTAttributesSequence
-