Interface AssessmentTypeCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
ContentAssessmentResultsModule
- All Known Implementing Classes:
AssessmentTypeCodeSequence.SimpleHolder,ContentAssessmentResultsIOD
- Enclosing class:
- AssessmentTypeCodeSequence
public static interface AssessmentTypeCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Assessment Type Code Sequence" (seeAssessmentTypeCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAssessmentTypeCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static AssessmentTypeCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Assessment Type Code Sequence (seeAssessmentTypeCodeSequence)- Returns:
- a wrapper object implementing the
AssessmentTypeCodeSequence.Holderinterface.
-
builder
static AssessmentTypeCodeSequence.Holder.Builder builder()
- Returns:
- a
AssessmentTypeCodeSequence.Holder.Builderto create Assessment Type Code Sequence Items with a fluent API.
-
builder
static AssessmentTypeCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theAssessmentTypeCodeSequence.Holder.Builder.- Returns:
- a
AssessmentTypeCodeSequence.Holder.Builderto create Assessment Type Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getAssessmentTypeCodeSequence
default AssessmentTypeCodeSequence getAssessmentTypeCodeSequence()
- Returns:
- the Assessment Type Code Sequence (see
AssessmentTypeCodeSequence)
-
newAssessmentTypeCodeSequence
default AssessmentTypeCodeSequence newAssessmentTypeCodeSequence(int initialCapacity)
Adds a new Assessment Type Code Sequence. (seeAssessmentTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Assessment Type Code Sequence- Returns:
- the newly created AssessmentTypeCodeSequence.
-
ensureAssessmentTypeCodeSequence
default AssessmentTypeCodeSequence ensureAssessmentTypeCodeSequence(int initialCapacity)
Adds a new Assessment Type Code Sequence (seeAssessmentTypeCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Assessment Type Code Sequence is created.- Returns:
- either the already existing Assessment Type Code Sequence (see
AssessmentTypeCodeSequence) or a new one with capacityinitialCapacity.
-
ensureAssessmentTypeCodeSequence
default AssessmentTypeCodeSequence ensureAssessmentTypeCodeSequence()
Adds a new Assessment Type Code Sequence (seeAssessmentTypeCodeSequence) with initial capacity 1 (seeensureAssessmentTypeCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Assessment Type Code Sequence (see
AssessmentTypeCodeSequence) or a new one with capacity 1.
-
containsAssessmentTypeCodeSequence
default boolean containsAssessmentTypeCodeSequence()
- Returns:
- whether it contains the Assessment Type Code Sequence (see
AssessmentTypeCodeSequence)
-
removeAssessmentTypeCodeSequence
default void removeAssessmentTypeCodeSequence()
Removes the Assessment Type Code Sequence (seeAssessmentTypeCodeSequence
-
-