public class MandatoryViewandSliceProgressionDirectionMacro extends Macro
| Constructor and Description |
|---|
MandatoryViewandSliceProgressionDirectionMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
MandatoryViewandSliceProgressionDirectionMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
MandatoryViewandSliceProgressionDirectionMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
MandatoryViewandSliceProgressionDirectionMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSliceProgressionDirection()
Return the anatomical direction in which a set of slices isprogressing
|
ViewCodeSequence |
getViewCodeSequence()
Retrieves pre-initialized object of View 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.
|
void |
setSliceProgressionDirection(EnumSliceProgressionDirection enumSetupDeviceType)
Sets the anatomical direction in which a set of slices isprogressing
|
boolean |
validate()
Validates all the attributes in MandatoryViewandSliceProgressionDirectionMacro
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in MandatoryViewandSliceProgressionDirectionMacro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in MandatoryViewandSliceProgressionDirectionMacro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic MandatoryViewandSliceProgressionDirectionMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic MandatoryViewandSliceProgressionDirectionMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic MandatoryViewandSliceProgressionDirectionMacro(IItem objItem)
objItem - specifies instance of Item classpublic MandatoryViewandSliceProgressionDirectionMacro(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 ViewCodeSequence getViewCodeSequence()
public void setSliceProgressionDirection(EnumSliceProgressionDirection enumSetupDeviceType)
enumSliceProgressionDirection - enum value of Slice Progression Directionpublic java.lang.String getSliceProgressionDirection()