org.dcm4che.srom
Interface Code


public interface Code

The Code interface represents a coded entry.

Version:
0.9.9
Author:
gunter.zeilinger@tiani.com
See Also:
"DICOM Part 3: Information Object Definitions, 8.8 STANDARD ATTRIBUTE SETS FOR CODE SEQUENCE ATTRIBUTES"

Method Summary
 boolean equals(java.lang.Object obj)
          Compares two Code objects for equality.
 java.lang.String getCodeMeaning()
          Returns the DICOM Code Meaning.
 java.lang.String getCodeValue()
          Returns the DICOM Code Value.
 java.lang.String getCodingSchemeDesignator()
          Returns the DICOM Coding Scheme Designator.
 java.lang.String getCodingSchemeVersion()
          Returns the DICOM Coding Scheme Version.
 void toDataset(Dataset ds)
           
 

Method Detail

getCodeValue

java.lang.String getCodeValue()
Returns the DICOM Code Value.
DICOM Tag: (0008,0100) The code value.

Returns:
the Code Value.
See Also:
"DICOM Part 3: Information Object Definitions, 8.1 CODE VALUE"

getCodingSchemeDesignator

java.lang.String getCodingSchemeDesignator()
Returns the DICOM Coding Scheme Designator.
DICOM Tag: (0008,0102) The coding scheme designator.

Returns:
the Coding Scheme Designator.
See Also:
"DICOM Part 3: Information Object Definitions, 8.2 CODING SCHEME DESIGNATOR"

getCodingSchemeVersion

java.lang.String getCodingSchemeVersion()
Returns the DICOM Coding Scheme Version.
DICOM Tag: (0008,0103) The coding scheme version.

Returns:
the Coding Scheme Version.
See Also:
"DICOM Part 3: Information Object Definitions, 8.2 CODING SCHEME VERSION"

getCodeMeaning

java.lang.String getCodeMeaning()
Returns the DICOM Code Meaning.
DICOM Tag: (0008,0104) The code meaning.

Returns:
the Code Meaning.
See Also:
"DICOM Part 3: Information Object Definitions, 8.3 CODE MEANING"

equals

boolean equals(java.lang.Object obj)
Compares two Code objects for equality. Only code value and coding scheme designator will be use to find out of this code and the one specified as parameter obj are equal.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the Code object to be compared for equality with this Code object.
Returns:
true if equal false otherwise.

toDataset

void toDataset(Dataset ds)