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