public class ContentIdentificationMacro extends Macro
| Constructor and Description |
|---|
ContentIdentificationMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
ContentIdentificationMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
ContentIdentificationMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
ContentIdentificationMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
AlternateContentDescriptionSequence |
getAlternateContentDescriptionSequence()
Retrieves pre-initialized object of Alternate Content Description 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.
|
ContentCreatorsIdentificationCodeSequence |
getContentCreatorsIdentificationCodeSequence()
Retrieves pre-initialized object of Content Creators Identification 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 |
getContentCreatorsName()
Retrieves Content Creators Name.
|
java.lang.String |
getContentDescription()
Return Content Description.
|
java.lang.String |
getContentLabel()
Retrieves Content Label.
|
java.lang.String |
getInstanceNumber()
Retrieves Instance Number.
|
void |
setContentCreatorsName(java.lang.String strContentCreatorsName)
Sets Content Creators Name.
|
void |
setContentDescription(java.lang.String strRescaleType)
Sets Content Description.
|
void |
setContentLabel(java.lang.String strContentLabel)
Sets the Content Label.
|
void |
setInstanceNumber(java.lang.String strInstanceNumber)
Sets Instance Number.
|
boolean |
validate()
Validates all the attributes in ContentIdentificationMacro
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in ContentIdentificationMacro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in ContentIdentificationMacro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic ContentIdentificationMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic ContentIdentificationMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic ContentIdentificationMacro(IItem objItem)
objItem - specifies instance of Item classpublic ContentIdentificationMacro(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 void setInstanceNumber(java.lang.String strInstanceNumber)
strInstanceNumber - String value of Instance Number.public java.lang.String getInstanceNumber()
public void setContentLabel(java.lang.String strContentLabel)
strContentLabel - Specifies Content Labelpublic java.lang.String getContentLabel()
public void setContentDescription(java.lang.String strRescaleType)
strRescaleType - String value of Content Description.public java.lang.String getContentDescription()
public AlternateContentDescriptionSequence getAlternateContentDescriptionSequence()
public void setContentCreatorsName(java.lang.String strContentCreatorsName)
strContentCreatorsName - String Content Creators Name.public java.lang.String getContentCreatorsName()
public ContentCreatorsIdentificationCodeSequence getContentCreatorsIdentificationCodeSequence()