public class FrameContentSequenceMacro extends Macro
| Constructor and Description |
|---|
FrameContentSequenceMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
FrameContentSequenceMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
FrameContentSequenceMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
FrameContentSequenceMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
FrameContentSequence |
getFrameContentSequencee()
Retrieves pre-initialized object of Frame Content Sequencee.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
|
boolean |
validate()
Validates all the attributes in Frame Content Sequence
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in Frame Content Macro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in Frame Content Macro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic FrameContentSequenceMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic FrameContentSequenceMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic FrameContentSequenceMacro(IItem objItem)
objItem - specifies instance of Item classpublic FrameContentSequenceMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic FrameContentSequence getFrameContentSequencee()
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.