Trispark JDT
2.50.13

com.archimed.dicom
Class Person

java.lang.Object
  extended by com.archimed.dicom.Person

public class Person
extends java.lang.Object

This class represents a PN (Person Name) VR. It holds the 3 different component groups (single-byte character representation, ideographic, phonetic) For every component group the 5 different components are stored.


Field Summary
 java.lang.String familyName
           
 java.lang.String familyNameIdeographic
           
 java.lang.String familyNamePhonetic
           
 java.lang.String givenName
           
 java.lang.String givenNameIdeographic
           
 java.lang.String givenNamePhonetic
           
 java.lang.String middleName
           
 java.lang.String middleNameIdeographic
           
 java.lang.String middleNamePhonetic
           
 java.lang.String prefix
           
 java.lang.String prefixIdeographic
           
 java.lang.String prefixPhonetic
           
 java.lang.String suffix
           
 java.lang.String suffixIdeographic
           
 java.lang.String suffixPhonetic
           
 
Constructor Summary
Person()
          creates an empty Person object.
Person(java.lang.String str)
          creates a Person object by parsing the specified string taking into account the component delimiter (^) and component group delimiter (=) .
 
Method Summary
 void clearTrailingComponentDelimiters()
          removes trailing component delimiters of the first component group
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String ideographicComponentGroup()
          returns the ideographic component group.
 java.lang.String phoneticComponentGroup()
          returns the phonetic component group.
 java.lang.String singleByteComponentGroup()
          returns the single-byte component group.
 java.lang.String toDICOMString()
          returns the DICOM representation of this Person object including the component delimiters (^) and the group delimiters (=)
 java.lang.String toString()
          returns toDICOMString()
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

familyName

public java.lang.String familyName

givenName

public java.lang.String givenName

middleName

public java.lang.String middleName

prefix

public java.lang.String prefix

suffix

public java.lang.String suffix

familyNameIdeographic

public java.lang.String familyNameIdeographic

givenNameIdeographic

public java.lang.String givenNameIdeographic

middleNameIdeographic

public java.lang.String middleNameIdeographic

prefixIdeographic

public java.lang.String prefixIdeographic

suffixIdeographic

public java.lang.String suffixIdeographic

familyNamePhonetic

public java.lang.String familyNamePhonetic

givenNamePhonetic

public java.lang.String givenNamePhonetic

middleNamePhonetic

public java.lang.String middleNamePhonetic

prefixPhonetic

public java.lang.String prefixPhonetic

suffixPhonetic

public java.lang.String suffixPhonetic
Constructor Detail

Person

public Person()
creates an empty Person object.


Person

public Person(java.lang.String str)
creates a Person object by parsing the specified string taking into account the component delimiter (^) and component group delimiter (=) . Trailing component delimiters of the first component group are not discarded.

Parameters:
str - String
Method Detail

clearTrailingComponentDelimiters

public void clearTrailingComponentDelimiters()
removes trailing component delimiters of the first component group


toString

public java.lang.String toString()
returns toDICOMString()

Overrides:
toString in class java.lang.Object

singleByteComponentGroup

public java.lang.String singleByteComponentGroup()
returns the single-byte component group.

Returns:
String

ideographicComponentGroup

public java.lang.String ideographicComponentGroup()
returns the ideographic component group.

Returns:
String

phoneticComponentGroup

public java.lang.String phoneticComponentGroup()
returns the phonetic component group.

Returns:
String

toDICOMString

public java.lang.String toDICOMString()
returns the DICOM representation of this Person object including the component delimiters (^) and the group delimiters (=)


equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Trispark JDT
2.50.13

Copyright © 1999-2008 Trispark. All Rights Reserved.