public class MCpersonIdentificationMacro extends MCdataSet
The following DICOM attributes can be directly handled through this class:
Constructor and Description |
---|
MCpersonIdentificationMacro() |
Modifier and Type | Method and Description |
---|---|
void |
addPersonsTelephoneNumbers(java.lang.String val)
Adds a value to the 'Person's Telephone Numbers' (0040,1103) attribute.
|
MCcommand |
getCommand()
Gets the DIMSE command for this instance.
|
java.lang.String |
getInstitutionAddress()
Gets the first value of the 'Institution Address' (0008,0081) attribute.
|
MCcodeSequenceMacro |
getInstitutionCode()
Gets the first value of the 'Institution Code Sequence' (0008,0082) attribute.
|
java.lang.String |
getInstitutionName()
Gets the first value of the 'Institution Name' (0008,0080) attribute.
|
MCcodeSequenceMacro |
getPersonIdentificationCode()
Gets the first value of the 'Person identification Code Sequence' (0040,1101) attribute.
|
java.lang.String |
getPersonsAddress()
Gets the first value of the 'Person's Address' (0040,1102) attribute.
|
java.lang.String |
getPersonsTelephoneNumbers()
Gets the first value of the 'Person's Telephone Numbers' (0040,1103) attribute.
|
java.lang.String |
getPersonsTelephoneNumbers(int valueIndex)
Gets a value of the 'Person's Telephone Numbers' (0040,1103) 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 |
removeInstitutionAddress()
Removes the the 'Institution Address' (0008,0081) attribute from the attributes set.
|
void |
removeInstitutionCode()
Removes the the 'Institution Code Sequence' (0008,0082) attribute from the attributes set.
|
void |
removeInstitutionName()
Removes the the 'Institution Name' (0008,0080) attribute from the attributes set.
|
void |
removePersonIdentificationCode()
Removes the the 'Person identification Code Sequence' (0040,1101) attribute from the attributes set.
|
void |
removePersonsAddress()
Removes the the 'Person's Address' (0040,1102) attribute from the attributes set.
|
void |
removePersonsTelephoneNumbers()
Removes the the 'Person's Telephone Numbers' (0040,1103) attribute from the attributes set.
|
void |
setInstitutionAddress(java.lang.String val)
Sets the value of the 'Institution Address' (0008,0081) attribute.
|
void |
setInstitutionCode(MCcodeSequenceMacro val)
Sets the value of the 'Institution Code Sequence' (0008,0082) sequence.
|
void |
setInstitutionCode(MCitem val)
Sets the value of the 'Institution Code Sequence' (0008,0082) attribute.
|
void |
setInstitutionName(java.lang.String val)
Sets the value of the 'Institution Name' (0008,0080) attribute.
|
void |
setPersonIdentificationCode(MCcodeSequenceMacro val)
Sets the value of the 'Person identification Code Sequence' (0040,1101) sequence.
|
void |
setPersonIdentificationCode(MCitem val)
Sets the value of the 'Person identification Code Sequence' (0040,1101) attribute.
|
void |
setPersonsAddress(java.lang.String val)
Sets the value of the 'Person's Address' (0040,1102) attribute.
|
void |
setPersonsTelephoneNumbers(java.lang.String val)
Sets the value of the 'Person's Telephone Numbers' (0040,1103) 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 getInstitutionName()
public void setInstitutionName(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 removeInstitutionName()
public java.lang.String getInstitutionAddress()
public void setInstitutionAddress(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 removeInstitutionAddress()
public MCcodeSequenceMacro getInstitutionCode()
public void setInstitutionCode(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 setInstitutionCode(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 removeInstitutionCode()
public MCcodeSequenceMacro getPersonIdentificationCode()
public void setPersonIdentificationCode(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 setPersonIdentificationCode(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 removePersonIdentificationCode()
public java.lang.String getPersonsAddress()
public void setPersonsAddress(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 removePersonsAddress()
public java.lang.String getPersonsTelephoneNumbers()
public java.lang.String getPersonsTelephoneNumbers(int valueIndex)
valueIndex
- The index of the value to retrieve, 0 for the first value, 1 for the second, etc. . )public void setPersonsTelephoneNumbers(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 addPersonsTelephoneNumbers(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 removePersonsTelephoneNumbers()