public class MCitem extends MCattributeSet
MCitem
objects describe DICOM items used normally in sequence of items (SQ)
attributes. Sequence items are identified, in the Merge DICOM toolkit, by an optional item name based
on definitions in Part 3 of the DICOM Standard. The toolkit recognizes the item names as
configured in mergecom.srv. Other item names, including null
name, can be
used as long as validation is not required.
This class is the value type of sequence attributes. Multiple sequence attributes can share the same item object as value.
An instance of this class can not be used by multiple threads concurrently.
Constructor and Description |
---|
MCitem()
Initializes a generic sequence item.
|
MCitem(java.lang.String itemName)
Initializes a new sequence item of the specified type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getItemName()
Gets the name of this item.
|
void |
setItemName(java.lang.String name)
Sets the name of this item.
|
addAttribute, addAttribute, addEncapsulatedFrame, addValue, addValue, clear, clear, contains, contains, copyTo, createSignature, createSignature, deleteSignature, dispose, duplicate, getBigInteger, getBigInteger, getBulkValue, getBulkValue, getCommand, getDoubleValue, getDoubleValue, getEncapsulatedFrame, getFloatValue, getFloatValue, getFrame, getIntValue, getIntValue, getItem, getItem, getKeyword, getKeyword, getLongValue, getLongValue, getModality, getNextValidationError, getOffsetTable, getService, getShortValue, getShortValue, getSOPClassUID, getSOPInstanceUID, getStringValue, getStringValue, getStringValue, getStringValue, getTransferSyntax, getValue, getValue, getValue, getValue, getValueCount, getValueCount, getValueLength, getValueLength, getValueRepresentation, getValueRepresentation, getValues, getValues, iterator, list, list, readAttributeSetsFromJSON, readAttributeSetsFromJSON, readFromJSON, readFromJSON, readFromStream, readFromStream, readFromXML, readFromXML, readFromXMLNative, readFromXMLNative, removeAttribute, removeAttribute, resetTransferSyntax, setDefaultCompression, setServiceCommand, setTransferSyntax, setValue, setValue, setValueRepresentation, setValueRepresentation, size, validate, validateAttribute, verifySignature, writeAttributeSetsToJSON, writeToJSON, writeToStream, writeToStream, writeToXML, writeToXML, writeToXMLNative
public MCitem()
This constructor crates a generic sequence item object that can be used for any sequence attribute. Generic item object can not be validated by the toolkit.
MCexception
- If the toolkit is not initialized.public MCitem(java.lang.String itemName)
The item name is used to access configuration information which describes the attributes of the item. If such configuration information is not available, a generic item object is created, and a warning message is logged.
itemName
- The name of the sequence type as defined in the mergecom.srv configuration file.MCexception
- If the toolkit is not initialized.