Interface RealWorldValueMappingSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
CornealTopographyMapImageModule,GeneralImageModule,NMImageModule,OphthalmicThicknessMapModule
- All Known Implementing Classes:
CornealTopographyMapIOD,CRImageIOD,CTImageIOD,DermoscopicPhotographyImageIOD,DigitalIntraOralXRayImageIOD,DigitalMammographyXRayImageIOD,DigitalXRayImageIOD,EnhancedUSVolumeIOD,MRImageIOD,MultiFrameGrayscaleByteSCImageIOD,MultiFrameGrayscaleWordSCImageIOD,MultiFrameSingleBitSCImageIOD,MultiFrameTrueColorSCImageIOD,NMImageIOD,OphthalmicOpticalCoherenceTomographyEnFaceImageIOD,OphthalmicPhotography16BitImageIOD,OphthalmicPhotography8BitImageIOD,OphthalmicThicknessMapIOD,ParametricMapIOD,PETImageIOD,RealTimeVideoEndoscopicImageIOD,RealTimeVideoPhotographicImageIOD,RealWorldValueMappingSequence.SimpleHolder,ReferencedImageRealWorldValueMappingSequence.Item,RTDoseIOD,RTImageIOD,SecondaryCaptureImageIOD,SegmentationIOD,USImageIOD,USMultiFrameImageIOD,VideoEndoscopicImageIOD,VideoMicroscopicImageIOD,VideoPhotographicImageIOD,VLEndoscopicImageIOD,VLMicroscopicImageIOD,VLPhotographicImageIOD,VLSlideCoordinatesMicroscopicImageIOD,VLWholeSlideMicroscopyImageIOD,WideFieldOphthalmicPhotography3DCoordinatesImageIOD,WideFieldOphthalmicPhotographyStereographicProjectionImageIOD,XRayAngiographicImageIOD,XRayRadiofluoroscopicImageIOD
- Enclosing class:
- RealWorldValueMappingSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Real World Value Mapping Sequence" (see
RealWorldValueMappingSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault RealWorldValueMappingSequenceAdds a new Real World Value Mapping Sequence (seeRealWorldValueMappingSequence) with initial capacity 1 (seeensureRealWorldValueMappingSequence(int)) if it does not already exist.default RealWorldValueMappingSequenceensureRealWorldValueMappingSequence(int initialCapacity) Adds a new Real World Value Mapping Sequence (seeRealWorldValueMappingSequence) if it does not already exist.default RealWorldValueMappingSequencedefault RealWorldValueMappingSequencenewRealWorldValueMappingSequence(int initialCapacity) Adds a new Real World Value Mapping Sequence.default voidRemoves the Real World Value Mapping Sequence (seeRealWorldValueMappingSequencewrap(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 Real World Value Mapping Sequence (seeRealWorldValueMappingSequence)- Returns:
- A wrapper object implementing the
RealWorldValueMappingSequence.Holderinterface.
-
builder
- Returns:
- a
RealWorldValueMappingSequence.Holder.Builderto create Real World Value Mapping Sequence Items with a fluent API.
-
builder
static RealWorldValueMappingSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theRealWorldValueMappingSequence.Holder.Builder.- Returns:
- a
RealWorldValueMappingSequence.Holder.Builderto create Real World Value Mapping Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRealWorldValueMappingSequence
- Returns:
- the Real World Value Mapping Sequence (see
RealWorldValueMappingSequence)
-
newRealWorldValueMappingSequence
Adds a new Real World Value Mapping Sequence. (seeRealWorldValueMappingSequence)- Parameters:
initialCapacity- the initial capacity for the new Real World Value Mapping Sequence
-
ensureRealWorldValueMappingSequence
Adds a new Real World Value Mapping Sequence (seeRealWorldValueMappingSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Real World Value Mapping Sequence is created.- Returns:
- Either the already existing Real World Value Mapping Sequence (see
RealWorldValueMappingSequence) or a new one with capacityinitialCapacity.
-
ensureRealWorldValueMappingSequence
Adds a new Real World Value Mapping Sequence (seeRealWorldValueMappingSequence) with initial capacity 1 (seeensureRealWorldValueMappingSequence(int)) if it does not already exist.- Returns:
- Either the already existing Real World Value Mapping Sequence (see
RealWorldValueMappingSequence) or a new one with capacity 1.
-
containsRealWorldValueMappingSequence
default boolean containsRealWorldValueMappingSequence()- Returns:
- Whether it contains the Real World Value Mapping Sequence (see
RealWorldValueMappingSequence)
-
removeRealWorldValueMappingSequence
default void removeRealWorldValueMappingSequence()Removes the Real World Value Mapping Sequence (seeRealWorldValueMappingSequence
-