com.objex.progeny.anywhere.enums
Enum TWIN_RELATIONSHIP_STATUS

java.lang.Object
  extended by java.lang.Enum<TWIN_RELATIONSHIP_STATUS>
      extended by com.objex.progeny.anywhere.enums.TWIN_RELATIONSHIP_STATUS
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TWIN_RELATIONSHIP_STATUS>

public enum TWIN_RELATIONSHIP_STATUS
extends java.lang.Enum<TWIN_RELATIONSHIP_STATUS>
implements java.io.Serializable

Enum types for twin relationships


Enum Constant Summary
DIZYGOTIC
          Dizygotic twin type
MONOZYGOTIC
          Monozygotic twin type
UNKNOWN
          Unknown twin type
 
Method Summary
 int getType()
           
static TWIN_RELATIONSHIP_STATUS valueOf(int ai_type)
           
static TWIN_RELATIONSHIP_STATUS valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TWIN_RELATIONSHIP_STATUS[] 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

MONOZYGOTIC

public static final TWIN_RELATIONSHIP_STATUS MONOZYGOTIC
Monozygotic twin type


DIZYGOTIC

public static final TWIN_RELATIONSHIP_STATUS DIZYGOTIC
Dizygotic twin type


UNKNOWN

public static final TWIN_RELATIONSHIP_STATUS UNKNOWN
Unknown twin type

Method Detail

values

public static final TWIN_RELATIONSHIP_STATUS[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(TWIN_RELATIONSHIP_STATUS c : TWIN_RELATIONSHIP_STATUS.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static TWIN_RELATIONSHIP_STATUS valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getType

public int getType()
Returns:
The twin relationship line type

valueOf

public static TWIN_RELATIONSHIP_STATUS valueOf(int ai_type)
Parameters:
ai_type - The twin relationship line type
Returns:
The Enum for the specified twin relationship type. Null may be returned if no Enum matches