Interface DerivationCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
GeneralReferenceModule,RTDoseModule
- All Known Implementing Classes:
CArmPhotonElectronRadiationIOD,CArmPhotonElectronRadiationRecordIOD,CornealTopographyMapIOD,CRImageIOD,CTImageIOD,DeformableSpatialRegistrationIOD,DerivationCodeSequence.SimpleHolder,DerivationImageSequence.Item,DermoscopicPhotographyImageIOD,DigitalIntraOralXRayImageIOD,DigitalMammographyXRayImageIOD,DigitalXRayImageIOD,EnhancedUSVolumeIOD,MRImageIOD,MultiFrameGrayscaleByteSCImageIOD,MultiFrameGrayscaleWordSCImageIOD,MultiFrameSingleBitSCImageIOD,MultiFrameTrueColorSCImageIOD,NMImageIOD,OphthalmicPhotography16BitImageIOD,OphthalmicPhotography8BitImageIOD,OphthalmicThicknessMapIOD,ParametricMapIOD,PETImageIOD,RealTimeVideoEndoscopicImageIOD,RealTimeVideoPhotographicImageIOD,ReconstructionProtocolElementSequence.Item,RoboticArmRadiationIOD,RoboticArmRadiationRecordIOD,RTBeamsDeliveryInstructionIOD,RTBeamsTreatmentRecordIOD,RTBrachyApplicationSetupDeliveryInstructionIOD,RTBrachyTreatmentRecordIOD,RTDoseIOD,RTImageIOD,RTIonBeamsTreatmentRecordIOD,RTIonPlanIOD,RTPhysicianIntentIOD,RTPlanIOD,RTRadiationRecordSetIOD,RTRadiationSalvageRecordIOD,RTRadiationSetDeliveryInstructionIOD,RTRadiationSetIOD,RTSegmentAnnotationIOD,RTStructureSetIOD,RTTreatmentPreparationIOD,RTTreatmentSummaryRecordIOD,SecondaryCaptureImageIOD,SegmentationIOD,SpatialFiducialsIOD,SpatialRegistrationIOD,StructureSetROISequence.Item,SurfaceSegmentationIOD,TomotherapeuticRadiationIOD,TomotherapeuticRadiationRecordIOD,USImageIOD,USMultiFrameImageIOD,VideoEndoscopicImageIOD,VideoMicroscopicImageIOD,VideoPhotographicImageIOD,VLEndoscopicImageIOD,VLMicroscopicImageIOD,VLPhotographicImageIOD,VLSlideCoordinatesMicroscopicImageIOD,VLWholeSlideMicroscopyImageIOD,WideFieldOphthalmicPhotography3DCoordinatesImageIOD,WideFieldOphthalmicPhotographyStereographicProjectionImageIOD,XRayAngiographicImageIOD,XRayRadiofluoroscopicImageIOD
- Enclosing class:
- DerivationCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Derivation Code Sequence" (see
DerivationCodeSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault DerivationCodeSequenceAdds a new Derivation Code Sequence (seeDerivationCodeSequence) with initial capacity 1 (seeensureDerivationCodeSequence(int)) if it does not already exist.default DerivationCodeSequenceensureDerivationCodeSequence(int initialCapacity) Adds a new Derivation Code Sequence (seeDerivationCodeSequence) if it does not already exist.default DerivationCodeSequencedefault DerivationCodeSequencenewDerivationCodeSequence(int initialCapacity) Adds a new Derivation Code Sequence.default voidRemoves the Derivation Code Sequence (seeDerivationCodeSequencewrap(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 Derivation Code Sequence (seeDerivationCodeSequence)- Returns:
- A wrapper object implementing the
DerivationCodeSequence.Holderinterface.
-
builder
- Returns:
- a
DerivationCodeSequence.Holder.Builderto create Derivation Code Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theDerivationCodeSequence.Holder.Builder.- Returns:
- a
DerivationCodeSequence.Holder.Builderto create Derivation Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDerivationCodeSequence
- Returns:
- the Derivation Code Sequence (see
DerivationCodeSequence)
-
newDerivationCodeSequence
Adds a new Derivation Code Sequence. (seeDerivationCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Derivation Code Sequence
-
ensureDerivationCodeSequence
Adds a new Derivation Code Sequence (seeDerivationCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Derivation Code Sequence is created.- Returns:
- Either the already existing Derivation Code Sequence (see
DerivationCodeSequence) or a new one with capacityinitialCapacity.
-
ensureDerivationCodeSequence
Adds a new Derivation Code Sequence (seeDerivationCodeSequence) with initial capacity 1 (seeensureDerivationCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Derivation Code Sequence (see
DerivationCodeSequence) or a new one with capacity 1.
-
containsDerivationCodeSequence
default boolean containsDerivationCodeSequence()- Returns:
- Whether it contains the Derivation Code Sequence (see
DerivationCodeSequence)
-
removeDerivationCodeSequence
default void removeDerivationCodeSequence()Removes the Derivation Code Sequence (seeDerivationCodeSequence
-