Interface ATDAssessmentSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ATDAssessmentSequence.SimpleHolder
- Enclosing class:
- ATDAssessmentSequence
A class implementing this interface can hold attributes which contain the DICOM tag "ATD Assessment Sequence" (see
ATDAssessmentSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault ATDAssessmentSequenceAdds a new ATD Assessment Sequence (seeATDAssessmentSequence) with initial capacity 1 (seeensureATDAssessmentSequence(int)) if it does not already exist.default ATDAssessmentSequenceensureATDAssessmentSequence(int initialCapacity) Adds a new ATD Assessment Sequence (seeATDAssessmentSequence) if it does not already exist.default ATDAssessmentSequencedefault ATDAssessmentSequencenewATDAssessmentSequence(int initialCapacity) Adds a new ATD Assessment Sequence.default voidRemoves the ATD Assessment Sequence (seeATDAssessmentSequencestatic ATDAssessmentSequence.Holderwrap(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 ATD Assessment Sequence (seeATDAssessmentSequence)- Returns:
- A wrapper object implementing the
ATDAssessmentSequence.Holderinterface.
-
builder
- Returns:
- a
ATDAssessmentSequence.Holder.Builderto create ATD Assessment Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theATDAssessmentSequence.Holder.Builder.- Returns:
- a
ATDAssessmentSequence.Holder.Builderto create ATD Assessment Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getATDAssessmentSequence
- Returns:
- the ATD Assessment Sequence (see
ATDAssessmentSequence)
-
newATDAssessmentSequence
Adds a new ATD Assessment Sequence. (seeATDAssessmentSequence)- Parameters:
initialCapacity- the initial capacity for the new ATD Assessment Sequence
-
ensureATDAssessmentSequence
Adds a new ATD Assessment Sequence (seeATDAssessmentSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new ATD Assessment Sequence is created.- Returns:
- Either the already existing ATD Assessment Sequence (see
ATDAssessmentSequence) or a new one with capacityinitialCapacity.
-
ensureATDAssessmentSequence
Adds a new ATD Assessment Sequence (seeATDAssessmentSequence) with initial capacity 1 (seeensureATDAssessmentSequence(int)) if it does not already exist.- Returns:
- Either the already existing ATD Assessment Sequence (see
ATDAssessmentSequence) or a new one with capacity 1.
-
containsATDAssessmentSequence
default boolean containsATDAssessmentSequence()- Returns:
- Whether it contains the ATD Assessment Sequence (see
ATDAssessmentSequence)
-
removeATDAssessmentSequence
default void removeATDAssessmentSequence()Removes the ATD Assessment Sequence (seeATDAssessmentSequence
-