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