public class MCimageSopInstanceRefMacro extends MCdataSet
The following DICOM attributes can be directly handled through this class:
Constructor and Description |
---|
MCimageSopInstanceRefMacro() |
Modifier and Type | Method and Description |
---|---|
void |
addReferencedFrameNumber(java.lang.String val)
Adds a value to the 'Referenced Frame Number' (0008,1160) attribute.
|
void |
addReferencedSegmentNumber(java.lang.Integer val)
Adds a value to the 'Referenced Segment Number' (0062,000b) attribute.
|
MCcommand |
getCommand()
Gets the DIMSE command for this instance.
|
java.lang.String |
getReferencedFrameNumber()
Gets the first value of the 'Referenced Frame Number' (0008,1160) attribute.
|
java.lang.String |
getReferencedFrameNumber(int valueIndex)
Gets a value of the 'Referenced Frame Number' (0008,1160) attribute.
|
java.lang.Integer |
getReferencedSegmentNumber()
Gets the first value of the 'Referenced Segment Number' (0062,000b) attribute.
|
java.lang.Integer |
getReferencedSegmentNumber(int valueIndex)
Gets a value of the 'Referenced Segment Number' (0062,000b) attribute.
|
java.lang.String |
getReferencedSOPClassUID()
Gets the first value of the 'Referenced SOP Class UID' (0008,1150) attribute.
|
java.lang.String |
getReferencedSOPInstanceUID()
Gets the first value of the 'Referenced SOP Instance UID' (0008,1155) attribute.
|
java.lang.String |
getServiceName()
Gets the associated DICOM service name of this instance.
|
boolean |
isItem()
Tells whether this instance represents a sequence item.
|
void |
removeReferencedFrameNumber()
Removes the the 'Referenced Frame Number' (0008,1160) attribute from the attributes set.
|
void |
removeReferencedSegmentNumber()
Removes the the 'Referenced Segment Number' (0062,000b) attribute from the attributes set.
|
void |
removeReferencedSOPClassUID()
Removes the the 'Referenced SOP Class UID' (0008,1150) attribute from the attributes set.
|
void |
removeReferencedSOPInstanceUID()
Removes the the 'Referenced SOP Instance UID' (0008,1155) attribute from the attributes set.
|
void |
setReferencedFrameNumber(java.lang.String val)
Sets the value of the 'Referenced Frame Number' (0008,1160) attribute.
|
void |
setReferencedSegmentNumber(java.lang.Integer val)
Sets the value of the 'Referenced Segment Number' (0062,000b) attribute.
|
void |
setReferencedSOPClassUID(java.lang.String val)
Sets the value of the 'Referenced SOP Class UID' (0008,1150) attribute.
|
void |
setReferencedSOPInstanceUID(java.lang.String val)
Sets the value of the 'Referenced SOP Instance UID' (0008,1155) 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 java.lang.String getReferencedSOPClassUID()
public void setReferencedSOPClassUID(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 removeReferencedSOPClassUID()
public java.lang.String getReferencedSOPInstanceUID()
public void setReferencedSOPInstanceUID(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 removeReferencedSOPInstanceUID()
public java.lang.String getReferencedFrameNumber()
public java.lang.String getReferencedFrameNumber(int valueIndex)
valueIndex
- The index of the value to retrieve, 0 for the first value, 1 for the second, etc. . )public void setReferencedFrameNumber(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 addReferencedFrameNumber(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 removeReferencedFrameNumber()
public java.lang.Integer getReferencedSegmentNumber()
public java.lang.Integer getReferencedSegmentNumber(int valueIndex)
valueIndex
- The index of the value to retrieve, 0 for the first value, 1 for the second, etc. . )public void setReferencedSegmentNumber(java.lang.Integer 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 addReferencedSegmentNumber(java.lang.Integer 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 removeReferencedSegmentNumber()