public class DocumentContentMacro extends Macro
| Constructor and Description |
|---|
DocumentContentMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
DocumentContentMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
DocumentContentMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
DocumentContentMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
CodeMacro |
getCodeMacro()
Retrieves the instance of Code Macro.
|
CompositeObjectReferenceMacro |
getCompositeObjectReferenceMacro()
Retrieves the instance of Composite Object Reference Macro.
|
ConceptNameCodeSequence |
getConceptNameCodeSequence()
Retrieves pre-initialized object of Concept 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 |
getContinuityOfContent()
Retrieves whether or not its contained Content Items are logically linked in a continuous textual flow, or are separate items.
|
java.lang.String |
getDate()
Retrieves the value of the Content Item.
|
java.lang.String |
getDateTime()
Retrieves the value of the Content Item.
|
ImageReferenceMacro |
getImageReferenceMacro()
Retrieves the instance of Image Reference Macro.
|
NumericMeasurementMacro |
getNumericMeasurementMacro()
Retrieves the instance of Numeric Measurement Macro.
|
java.lang.String |
getPersonName()
Retrieves the value of the Content Item.
|
SpatialCoordinatesMacro |
getSpatialCoordinatesMacro()
Retrieves the instance of Spatial Coordinates Macro.
|
TemporalCoordinatesMacro |
getTemporalCoordinatesMacro()
Retrieves the instance of Temporal Coordinates Macro.
|
java.lang.String |
getTextValue()
Retrieves the value of the Content Item.
|
java.lang.String |
getTime()
Retrieves the value of the Content Item.
|
java.lang.String |
getUID()
Retrieves the value of the Content Item.
|
java.lang.String |
getValueType()
Retrieves The type of the value encoded in this Content Item.
|
WaveformReferenceMacro |
getWaveformReferenceMacro()
Retrieves the instance of Waveform Reference Macro.
|
void |
setContinuityOfContent(EnumContinuityOfContent enumContinuityOfContent)
This flag specifies for a CONTAINER whether or not its contained Content Items are logically linked in a continuous textual
flow, or are separate items.
|
void |
setDate(java.lang.String strDate)
This is the value of the Content Item.
|
void |
setDateTime(java.lang.String strDateTime)
This is the value of the Content Item.
|
void |
setPersonName(java.lang.String strPersonName)
This is the value of the Content Item.
|
void |
setTextValue(java.lang.String strTextValue)
Sets the value of the Content Item.
|
void |
setTime(java.lang.String strDate)
This is the value of the Content Item.
|
void |
setUID(java.lang.String strUID)
This is the value of the Content Item.
|
void |
setValueType(EnumValueType enumValueType)
Sets The type of the value encoded in this Content Item.
|
boolean |
validate()
Validates all the attributes in Document Content Macro
|
boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in Document Content Macro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in Document Content Macro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic DocumentContentMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic DocumentContentMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic DocumentContentMacro(IItem objItem)
objItem - specifies instance of Item classpublic DocumentContentMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic void setValueType(EnumValueType enumValueType)
enumValueType - Enum value of type of the value encoded in this Content Item.public java.lang.String getValueType()
public ConceptNameCodeSequence getConceptNameCodeSequence()
public void setContinuityOfContent(EnumContinuityOfContent enumContinuityOfContent)
enumContinuityOfContent - Enum value of Continuity of Content.public java.lang.String getContinuityOfContent()
public void setTextValue(java.lang.String strTextValue)
strTextValue - String value of Content Item.public java.lang.String getTextValue()
public void setDateTime(java.lang.String strDateTime)
strDateTime - String value of Date Time.public java.lang.String getDateTime()
public void setDate(java.lang.String strDate)
strDate - String value of Date.public java.lang.String getDate()
public void setTime(java.lang.String strDate)
strDate - String value of Time.public java.lang.String getTime()
public void setPersonName(java.lang.String strPersonName)
strPersonName - String value of Person Name.public java.lang.String getPersonName()
public void setUID(java.lang.String strUID)
strUID - String value of UID.public java.lang.String getUID()
public NumericMeasurementMacro getNumericMeasurementMacro()
public CodeMacro getCodeMacro()
public CompositeObjectReferenceMacro getCompositeObjectReferenceMacro()
public ImageReferenceMacro getImageReferenceMacro()
public WaveformReferenceMacro getWaveformReferenceMacro()
public SpatialCoordinatesMacro getSpatialCoordinatesMacro()
public TemporalCoordinatesMacro getTemporalCoordinatesMacro()
public boolean validate()
throws InvalidMacroException
InvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public 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.