Package com.pixelmed.dicom
Class ImageReference
- java.lang.Object
-
- com.pixelmed.dicom.SOPInstanceReference
-
- com.pixelmed.dicom.ImageReference
-
public class ImageReference extends SOPInstanceReference
A class to represent a non-hierarchical image reference.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
referencedFrameNumber
-
Fields inherited from class com.pixelmed.dicom.SOPInstanceReference
sopClassUID, sopInstanceUID
-
-
Constructor Summary
Constructors Constructor Description ImageReference(SOPInstanceReference instanceReference)
Construct an instance of a reference to an image.ImageReference(SOPInstanceReference instanceReference, java.lang.String referencedFrameNumber)
Construct an instance of a reference to an image.ImageReference(java.lang.String sopInstanceUID, java.lang.String sopClassUID)
Construct an instance of a reference to an image.ImageReference(java.lang.String sopInstanceUID, java.lang.String sopClassUID, java.lang.String referencedFrameNumber)
Construct an instance of a reference to an image.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getReferencedFrameNumber()
Get the Referenced Frame Number.java.lang.String
toString()
-
Methods inherited from class com.pixelmed.dicom.SOPInstanceReference
getSOPClassUID, getSOPInstanceUID
-
-
-
-
Constructor Detail
-
ImageReference
public ImageReference(java.lang.String sopInstanceUID, java.lang.String sopClassUID)
Construct an instance of a reference to an image.
- Parameters:
sopInstanceUID
- the SOP Instance UIDsopClassUID
- the SOP Class UID
-
ImageReference
public ImageReference(java.lang.String sopInstanceUID, java.lang.String sopClassUID, java.lang.String referencedFrameNumber)
Construct an instance of a reference to an image.
- Parameters:
sopInstanceUID
- the SOP Instance UIDsopClassUID
- the SOP Class UIDreferencedFrameNumber
- the Referenced Frame Number
-
ImageReference
public ImageReference(SOPInstanceReference instanceReference, java.lang.String referencedFrameNumber)
Construct an instance of a reference to an image.
- Parameters:
instanceReference
- an existingSOPInstanceReference
for this imagereferencedFrameNumber
- the Referenced Frame Number
-
ImageReference
public ImageReference(SOPInstanceReference instanceReference)
Construct an instance of a reference to an image.
- Parameters:
instanceReference
- an existingSOPInstanceReference
for this image
-
-
Method Detail
-
getReferencedFrameNumber
public java.lang.String getReferencedFrameNumber()
Get the Referenced Frame Number.
- Returns:
- the Referenced Frame Number, or null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classSOPInstanceReference
-
-