public class DataSetIdentificationMacro extends Macro
| Constructor and Description |
|---|
DataSetIdentificationMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
DataSetIdentificationMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
DataSetIdentificationMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
DataSetIdentificationMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDataSetName()
Return user-defined label identifier for DataSet Name.
|
java.lang.String |
getDataSetSource()
Return user-defined label identifier for DataSet Source.
|
java.lang.String |
getDataSetVersion()
Return user-defined label identifier for DataSet Version.
|
java.lang.String |
getDDataSetDescription()
Return user-defined label identifier for DataSet Description.
|
void |
setDataSetDescription(java.lang.String strDataSetDescription)
Sets DataSet Description.
|
void |
setDataSetName(java.lang.String strDataSetName)
Sets DataSet Name.
|
void |
setDataSetSource(java.lang.String strDataSetSource)
Sets DataSet Source.
|
void |
setDataSetVersion(java.lang.String strDataSetVersion)
Sets DataSet Version.
|
boolean |
validate()
Validates all the attributes in DataSetIdentificationMacro
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in CodeSequenceMacro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in DataSetIdentificationMacro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic DataSetIdentificationMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic DataSetIdentificationMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic DataSetIdentificationMacro(IItem objItem)
objItem - specifies instance of Item classpublic DataSetIdentificationMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic void setDataSetName(java.lang.String strDataSetName)
strDataSetName - String value of DataSet Name.public java.lang.String getDataSetName()
public void setDataSetVersion(java.lang.String strDataSetVersion)
strDataSetVersion - String value of DataSet Version.public java.lang.String getDataSetVersion()
public void setDataSetSource(java.lang.String strDataSetSource)
strDataSetName - String value of DataSet Source.public java.lang.String getDataSetSource()
public void setDataSetDescription(java.lang.String strDataSetDescription)
strDataSetDescription - String value of DataSet Description.public java.lang.String getDDataSetDescription()
public boolean validate()
throws InvalidMacroException
InvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public static 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.