|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RELATIONSHIP>
com.objex.progeny.anywhere.enums.RELATIONSHIP
public enum RELATIONSHIP
An enum of all relationship types involved in a pedigree
| Enum Constant Summary | |
|---|---|
RELATIONSHIP_BROTHER
Brother relationship |
|
RELATIONSHIP_DAUGHTER
Daughter relationship |
|
RELATIONSHIP_FATHER
Father relationship |
|
RELATIONSHIP_MOTHER
Mother relationship |
|
RELATIONSHIP_SISTER
Sister relationship |
|
RELATIONSHIP_SON
Son relationship |
|
RELATIONSHIP_SPOUSE
Spousal relationship |
|
RELATIONSHIP_TWINBROTHER
Twin brother relationship |
|
RELATIONSHIP_TWINSISTER
Twin sister relationship |
|
RELATIONSHIP_UNKNOWN
Unknown relationship |
|
| Method Summary | |
|---|---|
int |
getType()
|
static RELATIONSHIP |
valueOf(int ai_rel)
|
static RELATIONSHIP |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RELATIONSHIP[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RELATIONSHIP RELATIONSHIP_MOTHER
public static final RELATIONSHIP RELATIONSHIP_FATHER
public static final RELATIONSHIP RELATIONSHIP_DAUGHTER
public static final RELATIONSHIP RELATIONSHIP_SON
public static final RELATIONSHIP RELATIONSHIP_SISTER
public static final RELATIONSHIP RELATIONSHIP_BROTHER
public static final RELATIONSHIP RELATIONSHIP_TWINSISTER
public static final RELATIONSHIP RELATIONSHIP_TWINBROTHER
public static final RELATIONSHIP RELATIONSHIP_SPOUSE
public static final RELATIONSHIP RELATIONSHIP_UNKNOWN
| Method Detail |
|---|
public static final RELATIONSHIP[] values()
for(RELATIONSHIP c : RELATIONSHIP.values())
System.out.println(c);
public static RELATIONSHIP valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic int getType()
public static RELATIONSHIP valueOf(int ai_rel)
ai_rel - The relationship ID
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||