Interface PertinentResourcesSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
ContentAssessmentResultsModule,PatientMedicalModule
- All Known Implementing Classes:
ContentAssessmentResultsIOD,UnifiedProcedureStepIOD
- Enclosing class:
- PertinentResourcesSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Pertinent Resources Sequence" (see
PertinentResourcesSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault PertinentResourcesSequenceAdds a new Pertinent Resources Sequence (seePertinentResourcesSequence) with initial capacity 1 (seeensurePertinentResourcesSequence(int)) if it does not already exist.default PertinentResourcesSequenceensurePertinentResourcesSequence(int initialCapacity) Adds a new Pertinent Resources Sequence (seePertinentResourcesSequence) if it does not already exist.default PertinentResourcesSequencedefault PertinentResourcesSequencenewPertinentResourcesSequence(int initialCapacity) Adds a new Pertinent Resources Sequence.default voidRemoves the Pertinent Resources Sequence (seePertinentResourcesSequencewrap(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 Pertinent Resources Sequence (seePertinentResourcesSequence)- Returns:
- A wrapper object implementing the
PertinentResourcesSequence.Holderinterface.
-
getPertinentResourcesSequence
- Returns:
- the Pertinent Resources Sequence (see
PertinentResourcesSequence)
-
newPertinentResourcesSequence
Adds a new Pertinent Resources Sequence. (seePertinentResourcesSequence)- Parameters:
initialCapacity- the initial capacity for the new Pertinent Resources Sequence
-
ensurePertinentResourcesSequence
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
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
-