public class IdentifiedPersonorDeviceMacro extends Macro
| Constructor and Description |
|---|
IdentifiedPersonorDeviceMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
IdentifiedPersonorDeviceMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
IdentifiedPersonorDeviceMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
IdentifiedPersonorDeviceMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDeviceUID()
Retrieves a Device UID.
|
InstitutionCodeSequence |
getInstitutionCodeSequence()
Retrieves pre-initialized object of Institution 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 |
getInstitutionName()
Retrieves Institution Name.
|
java.lang.String |
getManufacturer()
Return Manufacturer.
|
java.lang.String |
getManufacturersModelName()
Retrieves Manufacturer's model name.
|
java.lang.String |
getObserverType()
Return type of Observer.
|
PersonIdentificationCodeSequence |
getPersonIdentificationCodeSequence()
Retrieves pre-initialized object of Person 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 |
getPersonName()
Retrieves Person Name.
|
java.lang.String |
getStationName()
Retrieves Station Name.
|
void |
setDeviceUID(java.lang.String strDeviceUID)
Sets a Device UID.
|
void |
setInstitutionName(java.lang.String strInstitutionName)
Sets Institution Name.
|
void |
setManufacturer(java.lang.String strManufacturer)
Sets Manufacturer.
|
void |
setManufacturersModelName(java.lang.String strManufacturersModelName)
Sets Manufacturer's model name.
|
void |
setObserverType(EnumObserverType enumObserverType)
Sets type of Observer.
|
void |
setPersonName(java.lang.String strPersonName)
Sets Person Name.
|
void |
setStationName(java.lang.String strStationName)
Sets the Station Name.
|
boolean |
validate()
Validates all the attributes in IdentifiedPersonorDeviceMacro
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in IdentifiedPersonorDeviceMacro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in IdentifiedPersonorDeviceMacro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic IdentifiedPersonorDeviceMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic IdentifiedPersonorDeviceMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic IdentifiedPersonorDeviceMacro(IItem objItem)
objItem - specifies instance of Item classpublic IdentifiedPersonorDeviceMacro(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 setObserverType(EnumObserverType enumObserverType)
enumObserverType - enum value of Observer Type.public java.lang.String getObserverType()
public void setPersonName(java.lang.String strPersonName)
strPersonName - String Person Name.public java.lang.String getPersonName()
public PersonIdentificationCodeSequence getPersonIdentificationCodeSequence()
public void setStationName(java.lang.String strStationName)
strStationName - - value of Station Namepublic java.lang.String getStationName()
public void setDeviceUID(java.lang.String strDeviceUID)
strDeviceUID - String value of Device UID.public java.lang.String getDeviceUID()
public void setManufacturer(java.lang.String strManufacturer)
strManufacturer - String value of Manufacturer.public java.lang.String getManufacturer()
public void setManufacturersModelName(java.lang.String strManufacturersModelName)
strManufacturersModelName - String value of Manufacturers Model Name .public java.lang.String getManufacturersModelName()
public void setInstitutionName(java.lang.String strInstitutionName)
strInstitutionName - String value of Institution Name .public java.lang.String getInstitutionName()
public InstitutionCodeSequence getInstitutionCodeSequence()