|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dcm4che.srom.Patient.Sex
public static final class Patient.Sex
Inner static class that represents a enumeration of the patient sex.
Field Summary | |
---|---|
static Patient.Sex |
FEMALE
Female patient sex. |
static Patient.Sex |
MALE
Male patient sex. |
static Patient.Sex |
OTHER
Other patient sex. |
Method Summary | |
---|---|
java.lang.String |
toString()
Returns the text representation of patient sex. |
static Patient.Sex |
valueOf(java.lang.String s)
Returns the type save patient sex value of a specified String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Patient.Sex FEMALE
public static final Patient.Sex MALE
public static final Patient.Sex OTHER
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public static Patient.Sex valueOf(java.lang.String s)
s
- the patient sex as string.
java.lang.IllegalArgumentException
- if parameter s
is not "M", "F" or "O".
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |