com.objex.progeny.anywhere.enums
Enum SPOUSE_RELATIONSHIP_STATUS

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

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

Spouse relationships Enum


Enum Constant Summary
CASUAL_SPOUSAL
          Casual spousal relationship
CONSANGUINEOUS_SPOUSAL
          Consanguineous spousal relationship
DIVORCED_SPOUSAL
          Divorced spousal relationship
INFERTILE_SPOUSAL
          Infertile spousal relationship
NOISSUE_SPOUSAL
          No issue spousal relationship
NORMAL_SPOUSAL
          Normal spousal relationship
SEPARATED_SPOUSAL
          Separated spousal relationship
 
Method Summary
 int getType()
           
static SPOUSE_RELATIONSHIP_STATUS valueOf(int ai_type)
           
static SPOUSE_RELATIONSHIP_STATUS valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SPOUSE_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

NORMAL_SPOUSAL

public static final SPOUSE_RELATIONSHIP_STATUS NORMAL_SPOUSAL
Normal spousal relationship


DIVORCED_SPOUSAL

public static final SPOUSE_RELATIONSHIP_STATUS DIVORCED_SPOUSAL
Divorced spousal relationship


SEPARATED_SPOUSAL

public static final SPOUSE_RELATIONSHIP_STATUS SEPARATED_SPOUSAL
Separated spousal relationship


CASUAL_SPOUSAL

public static final SPOUSE_RELATIONSHIP_STATUS CASUAL_SPOUSAL
Casual spousal relationship


INFERTILE_SPOUSAL

public static final SPOUSE_RELATIONSHIP_STATUS INFERTILE_SPOUSAL
Infertile spousal relationship


CONSANGUINEOUS_SPOUSAL

public static final SPOUSE_RELATIONSHIP_STATUS CONSANGUINEOUS_SPOUSAL
Consanguineous spousal relationship


NOISSUE_SPOUSAL

public static final SPOUSE_RELATIONSHIP_STATUS NOISSUE_SPOUSAL
No issue spousal relationship

Method Detail

values

public static final SPOUSE_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(SPOUSE_RELATIONSHIP_STATUS c : SPOUSE_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 SPOUSE_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 spousal relationship ID

valueOf

public static SPOUSE_RELATIONSHIP_STATUS valueOf(int ai_type)
Parameters:
ai_type - The relationship ID linked to an Enum. Null is returned if no Enum matches
Returns:
The Enum value for the specified relationship ID