public class ExposureIndexMacro extends Macro
| Constructor and Description |
|---|
ExposureIndexMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
ExposureIndexMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
ExposureIndexMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
ExposureIndexMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and Dictionary Reader
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDeviationIndex()
Retrieves Deviation Index
|
IDictionaryReader |
getDictionaryReader()
Retrieves the Dictionary reader set in the Item
|
java.lang.String |
getExposureIndex()
Retrieves Exposure Index.
|
java.lang.String |
getTargetExposureIndex()
Retrieves Exposure Index.
|
void |
setDeviationIndex(java.lang.String strDeviationIndex)
Sets Deviation Index
|
void |
setExposureIndex(java.lang.String strExposureIndex)
Sets Exposure Index
|
void |
setTargetExposureIndex(java.lang.String strExposureIndex)
Sets Target Exposure Index
|
boolean |
validate()
Validates all the attributes in ExposureIndexMacro
|
boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in Exposure Index Macro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in Exposure Index Macro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic ExposureIndexMacro(IDataSet objDataSet)
objDataSet - Collection of Data Elementspublic ExposureIndexMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic ExposureIndexMacro(IItem objItem)
objItem - specifies instance of Item classpublic ExposureIndexMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic IDictionaryReader getDictionaryReader()
public void setExposureIndex(java.lang.String strExposureIndex)
strExposureIndex - String value of Exposure Indexpublic java.lang.String getExposureIndex()
public void setTargetExposureIndex(java.lang.String strExposureIndex)
strTargetExposureIndex - String value of Target Exposure Indexpublic java.lang.String getTargetExposureIndex()
public void setDeviationIndex(java.lang.String strDeviationIndex)
strDeviationIndex - String value of Deviation Indexpublic java.lang.String getDeviationIndex()
public boolean validate()
throws InvalidMacroException
InvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public boolean validate(IDataSet objIDataSet) throws InvalidMacroException
objIDataSet - collection of DataElementsInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public static boolean validate(IItem objIItem) throws InvalidMacroException
objIItem - collection of DataElements in a sequenceInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.