|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dcm4che2.data.PersonName
public class PersonName
Field Summary | |
---|---|
static int |
FAMILY
Field number for get and set indicating the family name complex |
static int |
GIVEN
Field number for get and set indicating the given name complex |
static int |
IDEOGRAPHIC
Group number for get and set indicating the ideographic representation |
static int |
MIDDLE
Field number for get and set indicating the middle name |
static int |
PHONETIC
Group number for get and set indicating the phonetic representation |
static int |
PREFIX
Field number for get and set indicating the name prefix |
static int |
SINGLE_BYTE
Group number for get and set indicating the single-byte character representation |
static int |
SUFFIX
Field number for get and set indicating the name suffix |
Constructor Summary | |
---|---|
PersonName()
Default c'tor. |
|
PersonName(java.lang.String s)
C'tor that can parse a PN-encoded value. |
Method Summary | |
---|---|
java.lang.String |
componentGroupString(int group,
boolean trim)
|
java.lang.String |
get(int field)
|
java.lang.String |
get(int group,
int field)
|
void |
set(int group,
int field,
java.lang.String s)
|
void |
set(int field,
java.lang.String s)
|
static PersonName[] |
toPersonNames(java.lang.String[] ss)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int FAMILY
public static final int GIVEN
public static final int MIDDLE
public static final int PREFIX
public static final int SUFFIX
public static final int SINGLE_BYTE
public static final int IDEOGRAPHIC
public static final int PHONETIC
Constructor Detail |
---|
public PersonName()
public PersonName(java.lang.String s)
s
- the PN-encoded value to initialize from.Method Detail |
---|
public static PersonName[] toPersonNames(java.lang.String[] ss)
public final java.lang.String get(int field)
public final java.lang.String get(int group, int field)
public final void set(int field, java.lang.String s)
public final void set(int group, int field, java.lang.String s)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String componentGroupString(int group, boolean trim)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |