public class AlgorithmIdentificationMacro extends Macro
| Constructor and Description |
|---|
AlgorithmIdentificationMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
AlgorithmIdentificationMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader.
|
AlgorithmIdentificationMacro(IItem objItem)
This constructor constructs a Macro with the specified Item.
|
AlgorithmIdentificationMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader.
|
| Modifier and Type | Method and Description |
|---|---|
AlgorithmFamilyCodeSequence |
getAlgorithmFamilyCodeSequence()
Retrieves pre-initialized object of Algorithm Family Code Sequence.If the module contains the sequence object
it returns the same otherwise it creates the sequence adds to the module with proper initialization
and then returns the object of sequence.
|
java.lang.String |
getAlgorithmName()
Return Algorithm Name.
|
AlgorithmNameCodeSequence |
getAlgorithmNameCodeSequence()
Retrieves pre-initialized object of Algorithm Name Code Sequence.If the module contains the sequence object
it returns the same otherwise it creates the sequence adds to the module with proper initialization
and then returns the object of sequence.
|
java.lang.String |
getAlgorithmParameters()
Retrieves Algorithm Parameters.
|
java.lang.String |
getAlgorithmSource()
Return Algorithm Source.
|
java.lang.String |
getAlgorithmVersion()
Return Algorithm Version.
|
void |
setAlgorithmName(java.lang.String strAlgorithmName)
Sets Algorithm Name.
|
void |
setAlgorithmParameters(java.lang.String strAlgorithmParameters)
Sets Algorithm Parameters.
|
void |
setAlgorithmSource(java.lang.String strAlgorithmSource)
Sets Algorithm Source.
|
void |
setAlgorithmVersion(java.lang.String strAlgorithmVersion)
Sets Algorithm Version.
|
boolean |
validate()
Validates all the attributes in AlgorithmIdentificationMacro.
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in AlgorithmIdentificationMacro that are present in the DataSet.
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in AlgorithmIdentificationMacro that are present in the DataSet.
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic AlgorithmIdentificationMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic AlgorithmIdentificationMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic AlgorithmIdentificationMacro(IItem objItem)
objItem - specifies instance of Item classpublic AlgorithmIdentificationMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic 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.public AlgorithmFamilyCodeSequence getAlgorithmFamilyCodeSequence()
public AlgorithmNameCodeSequence getAlgorithmNameCodeSequence()
public void setAlgorithmName(java.lang.String strAlgorithmName)
strAlgorithmName- - String value of Algorithm Name.public java.lang.String getAlgorithmName()
public void setAlgorithmVersion(java.lang.String strAlgorithmVersion)
strAlgorithmVersion - -String value of Algorithm Version.public java.lang.String getAlgorithmVersion()
public void setAlgorithmParameters(java.lang.String strAlgorithmParameters)
strAlgorithmParameters- - String value of Algorithm Parameters.public java.lang.String getAlgorithmParameters()
public void setAlgorithmSource(java.lang.String strAlgorithmSource)
strAlgorithmSource - -String value of Algorithm Source.public java.lang.String getAlgorithmSource()