com.goldenhammer.dicom
Class DICOMHeaderData

java.lang.Object
  extended bycom.goldenhammer.dicom.DICOMHeaderData

public class DICOMHeaderData
extends java.lang.Object

Data class to represent DICOM header values that identify images. For all the get() methods, if the method returns null (for Strings) or -1 (for ints), then the value was never set.


Constructor Summary
DICOMHeaderData()
          Initializes all fields to their default values.
 
Method Summary
 java.lang.String getImageNumber()
          Returns the ImageNumber property.
 java.lang.String getManufacturer()
           
 java.lang.String getModel()
           
 java.lang.String getPatientID()
          Returns the PatientID property.
 java.util.Date getSeriesDate()
           
 int getSeriesNumber()
          Returns the SeriesNumber property.
 java.lang.String getSeriesUID()
          Returns the SeriesUID property.
 java.lang.String getSOPInstanceUID()
          Returns the SOPInstanceUID property.
 java.util.Date getStudyDate()
          Returns the StudyDate property.
 java.lang.String getStudyID()
          Returns the Study ID property.
 java.lang.String getStudyUID()
          Returns the StudyUID property.
 void setImageNumber(java.lang.String imageNumber)
          Sets the ImageNumber property in the DICOM header for the image being stored.
 void setManufacturer(java.lang.String manufacturer)
           
 void setModel(java.lang.String model)
           
 void setPatientID(java.lang.String patientID)
          Sets the PatientID property in the DICOM header for the image being stored.
 void setSeriesDate(java.util.Date seriesDate)
           
 void setSeriesNumber(int seriesNumber)
          Sets the SeriesNumber property in the DICOM header for the image being stored.
 void setSeriesUID(java.lang.String seriesUID)
          Sets the SeriesUID property in the DICOM header for the image being stored.
 void setSOPInstanceUID(java.lang.String sopInstanceUID)
          Sets the SOPInstanceUID property in the DICOM header for the image being stored.
 void setStudyDate(java.util.Date studyDate)
          Sets the StudyDate property in the DICOM header for the image being stored.
 void setStudyID(java.lang.String studyID)
          Sets the Study ID property in the DICOM header for the image being stored.
 void setStudyUID(java.lang.String studyUID)
          Sets the StudyUID property in the DICOM header for the image being stored.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DICOMHeaderData

public DICOMHeaderData()
Initializes all fields to their default values.

Method Detail

getPatientID

public java.lang.String getPatientID()
Returns the PatientID property.

Returns:
the value for the PatientID property

getSeriesNumber

public int getSeriesNumber()
Returns the SeriesNumber property.

Returns:
the value for the SeriesNumber property

getSeriesUID

public java.lang.String getSeriesUID()
Returns the SeriesUID property.

Returns:
the value for the SeriesUID property

getStudyDate

public java.util.Date getStudyDate()
Returns the StudyDate property.

Returns:
the study date

getStudyID

public java.lang.String getStudyID()
Returns the Study ID property.

Returns:
the value for the StudyID property

getStudyUID

public java.lang.String getStudyUID()
Returns the StudyUID property.

Returns:
the value for the StudyUID property

getImageNumber

public java.lang.String getImageNumber()
Returns the ImageNumber property.

Returns:
the value for the ImageNumber property

getSOPInstanceUID

public java.lang.String getSOPInstanceUID()
Returns the SOPInstanceUID property.

Returns:
the value for the SOPInstanceUID property

setPatientID

public void setPatientID(java.lang.String patientID)
Sets the PatientID property in the DICOM header for the image being stored.

Parameters:
patientID - the new value for the PatientID property

setSeriesNumber

public void setSeriesNumber(int seriesNumber)
Sets the SeriesNumber property in the DICOM header for the image being stored.

Parameters:
seriesNumber - the new value for the SeriesNumber property

setSeriesUID

public void setSeriesUID(java.lang.String seriesUID)
Sets the SeriesUID property in the DICOM header for the image being stored.

Parameters:
seriesUID - the new value for the SeriesUID property

setStudyDate

public void setStudyDate(java.util.Date studyDate)
Sets the StudyDate property in the DICOM header for the image being stored.

Parameters:
studyDate - the new value for the StudyDate property

setStudyID

public void setStudyID(java.lang.String studyID)
Sets the Study ID property in the DICOM header for the image being stored.

Parameters:
studyID - the new value for the StudyID property

setStudyUID

public void setStudyUID(java.lang.String studyUID)
Sets the StudyUID property in the DICOM header for the image being stored.

Parameters:
studyUID - the new value for the StudyUID property

setImageNumber

public void setImageNumber(java.lang.String imageNumber)
Sets the ImageNumber property in the DICOM header for the image being stored.

Parameters:
imageNumber - the new value for the ImageNumber property

setSOPInstanceUID

public void setSOPInstanceUID(java.lang.String sopInstanceUID)
Sets the SOPInstanceUID property in the DICOM header for the image being stored.

Parameters:
sopInstanceUID - the new value for the SOPInstanceUID property

getManufacturer

public java.lang.String getManufacturer()
Returns:
Returns the manufacturer.

setManufacturer

public void setManufacturer(java.lang.String manufacturer)
Parameters:
manufacturer - The manufacturer to set.

getModel

public java.lang.String getModel()
Returns:
Returns the model.

setModel

public void setModel(java.lang.String model)
Parameters:
model - The model to set.

getSeriesDate

public java.util.Date getSeriesDate()
Returns:
Returns the seriesDate.

setSeriesDate

public void setSeriesDate(java.util.Date seriesDate)
Parameters:
seriesDate - The seriesDate to set.