public class MCcontentItemMacro extends MCdataSet
The following DICOM attributes can be directly handled through this class:
Constructor and Description |
---|
MCcontentItemMacro() |
Modifier and Type | Method and Description |
---|---|
void |
addNumericValue(java.lang.String val)
Adds a value to the 'Numeric Value' (0040,a30a) attribute.
|
MCcommand |
getCommand()
Gets the DIMSE command for this instance.
|
MCcodeSequenceMacro |
getConceptCode()
Gets the first value of the 'Concept Code Sequence' (0040,a168) attribute.
|
MCcodeSequenceMacro |
getConceptNameCode()
Gets the first value of the 'Concept Name Code Sequence' (0040,a043) attribute.
|
MCdate |
getDate()
Gets the first value of the 'Date' (0040,a121) attribute.
|
MCdateTime |
getDateTime()
Gets the first value of the 'DateTime' (0040,a120) attribute.
|
MCcodeSequenceMacro |
getMeasurementUnitsCode()
Gets the first value of the 'Measurement Units Code Sequence' (0040,08ea) attribute.
|
java.lang.String |
getNumericValue()
Gets the first value of the 'Numeric Value' (0040,a30a) attribute.
|
java.lang.String |
getNumericValue(int valueIndex)
Gets a value of the 'Numeric Value' (0040,a30a) attribute.
|
MCpersonName |
getPersonName()
Gets the first value of the 'Person Name' (0040,a123) attribute.
|
MCimageSopInstanceRefMacro |
getReferencedSOP()
Gets the first value of the 'Referenced SOP Sequence' (0008,1199) attribute.
|
java.lang.String |
getServiceName()
Gets the associated DICOM service name of this instance.
|
java.lang.String |
getTextValue()
Gets the first value of the 'Text Value' (0040,a160) attribute.
|
MCtime |
getTime()
Gets the first value of the 'Time' (0040,a122) attribute.
|
java.lang.String |
getUID()
Gets the first value of the 'UID' (0040,a124) attribute.
|
java.lang.String |
getValueType()
Gets the first value of the 'Value Type' (0040,a040) attribute.
|
boolean |
isItem()
Tells whether this instance represents a sequence item.
|
void |
removeConceptCode()
Removes the the 'Concept Code Sequence' (0040,a168) attribute from the attributes set.
|
void |
removeConceptNameCode()
Removes the the 'Concept Name Code Sequence' (0040,a043) attribute from the attributes set.
|
void |
removeDate()
Removes the the 'Date' (0040,a121) attribute from the attributes set.
|
void |
removeDateTime()
Removes the the 'DateTime' (0040,a120) attribute from the attributes set.
|
void |
removeMeasurementUnitsCode()
Removes the the 'Measurement Units Code Sequence' (0040,08ea) attribute from the attributes set.
|
void |
removeNumericValue()
Removes the the 'Numeric Value' (0040,a30a) attribute from the attributes set.
|
void |
removePersonName()
Removes the the 'Person Name' (0040,a123) attribute from the attributes set.
|
void |
removeReferencedSOP()
Removes the the 'Referenced SOP Sequence' (0008,1199) attribute from the attributes set.
|
void |
removeTextValue()
Removes the the 'Text Value' (0040,a160) attribute from the attributes set.
|
void |
removeTime()
Removes the the 'Time' (0040,a122) attribute from the attributes set.
|
void |
removeUID()
Removes the the 'UID' (0040,a124) attribute from the attributes set.
|
void |
removeValueType()
Removes the the 'Value Type' (0040,a040) attribute from the attributes set.
|
void |
setConceptCode(MCcodeSequenceMacro val)
Sets the value of the 'Concept Code Sequence' (0040,a168) sequence.
|
void |
setConceptCode(MCitem val)
Sets the value of the 'Concept Code Sequence' (0040,a168) attribute.
|
void |
setConceptNameCode(MCcodeSequenceMacro val)
Sets the value of the 'Concept Name Code Sequence' (0040,a043) sequence.
|
void |
setConceptNameCode(MCitem val)
Sets the value of the 'Concept Name Code Sequence' (0040,a043) attribute.
|
void |
setDate(MCdate val)
Sets the value of the 'Date' (0040,a121) attribute.
|
void |
setDateTime(MCdateTime val)
Sets the value of the 'DateTime' (0040,a120) attribute.
|
void |
setMeasurementUnitsCode(MCcodeSequenceMacro val)
Sets the value of the 'Measurement Units Code Sequence' (0040,08ea) sequence.
|
void |
setMeasurementUnitsCode(MCitem val)
Sets the value of the 'Measurement Units Code Sequence' (0040,08ea) attribute.
|
void |
setNumericValue(java.lang.String val)
Sets the value of the 'Numeric Value' (0040,a30a) attribute.
|
void |
setPersonName(MCpersonName val)
Sets the value of the 'Person Name' (0040,a123) attribute.
|
void |
setReferencedSOP(MCimageSopInstanceRefMacro val)
Sets the value of the 'Referenced SOP Sequence' (0008,1199) sequence.
|
void |
setReferencedSOP(MCitem val)
Sets the value of the 'Referenced SOP Sequence' (0008,1199) attribute.
|
void |
setTextValue(java.lang.String val)
Sets the value of the 'Text Value' (0040,a160) attribute.
|
void |
setTime(MCtime val)
Sets the value of the 'Time' (0040,a122) attribute.
|
void |
setUID(java.lang.String val)
Sets the value of the 'UID' (0040,a124) attribute.
|
void |
setValueType(java.lang.String val)
Sets the value of the 'Value Type' (0040,a040) attribute.
|
getAttribSet, setAttribSet
public boolean isItem()
public java.lang.String getServiceName()
getServiceName
in class MCdataSet
public MCcommand getCommand()
getCommand
in class MCdataSet
MCcommand.INVALID_COMMAND
instance.public MCimageSopInstanceRefMacro getReferencedSOP()
public void setReferencedSOP(MCitem val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void setReferencedSOP(MCimageSopInstanceRefMacro val)
This method replaces any existing item with the specified one.
val
- An MCimageSopInstanceRefMacro
instance containing the sequence item to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeReferencedSOP()
public MCcodeSequenceMacro getMeasurementUnitsCode()
public void setMeasurementUnitsCode(MCitem val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void setMeasurementUnitsCode(MCcodeSequenceMacro val)
This method replaces any existing item with the specified one.
val
- An MCcodeSequenceMacro
instance containing the sequence item to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeMeasurementUnitsCode()
public java.lang.String getValueType()
public void setValueType(java.lang.String val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeValueType()
public MCcodeSequenceMacro getConceptNameCode()
public void setConceptNameCode(MCitem val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void setConceptNameCode(MCcodeSequenceMacro val)
This method replaces any existing item with the specified one.
val
- An MCcodeSequenceMacro
instance containing the sequence item to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeConceptNameCode()
public MCdateTime getDateTime()
public void setDateTime(MCdateTime val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeDateTime()
public MCdate getDate()
public void setDate(MCdate val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeDate()
public MCtime getTime()
public void setTime(MCtime val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeTime()
public MCpersonName getPersonName()
public void setPersonName(MCpersonName val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removePersonName()
public java.lang.String getUID()
public void setUID(java.lang.String val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeUID()
public java.lang.String getTextValue()
public void setTextValue(java.lang.String val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeTextValue()
public MCcodeSequenceMacro getConceptCode()
public void setConceptCode(MCitem val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void setConceptCode(MCcodeSequenceMacro val)
This method replaces any existing item with the specified one.
val
- An MCcodeSequenceMacro
instance containing the sequence item to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeConceptCode()
public java.lang.String getNumericValue()
public java.lang.String getNumericValue(int valueIndex)
valueIndex
- The index of the value to retrieve, 0 for the first value, 1 for the second, etc. . )public void setNumericValue(java.lang.String val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void addNumericValue(java.lang.String val)
val
- The value to add.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeNumericValue()